-
-
Notifications
You must be signed in to change notification settings - Fork 197
Help command #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help command #11
Conversation
@@ -11,7 +11,8 @@ export class ListPlatformsCommand implements ICommand { | |||
this.$logger.out("Available platforms: %s", helpers.formatListOfNames(availablePlatforms)); | |||
|
|||
var installedPlatforms = this.$platformService.getInstalledPlatforms().wait(); | |||
this.$logger.out("Installed platforms %s", helpers.formatListOfNames(installedPlatforms)); | |||
var message = installedPlatforms.length > 0 ? helpers.formatListOfNames(installedPlatforms) : "No installed platforms found"; | |||
this.$logger.out("Installed platforms: %s", message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When there are no platforms the messages should be just "No installed platforms", instead of "Installed platforms: No Installed platforms"
* Rename bin/nativescript.cmd to tns.cmd * Fix tns --version command * Add appid option * Use com.telerik.<App name> as default application identifier * Add help for --copy-from option * Remove setLoggerConfiguration * Add config.client * Fix the check for "source app/ is not a direct ancestor of a target app/" * We don't need ensureProject, we can throw the error when projectData is initializing. ;) * Fix message outputed from platform command * isPlatformInstalled validation for prepare and build commands * Using typed config
--[platform|list]-- | ||
|
||
Usage: | ||
$ tns platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be _$tns platform list_?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list
is the default command when nothing is specified.
…-mac Fix android -h check on mac
No description provided.