Skip to content

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

Merged
merged 2 commits into from
Jul 29, 2014
Merged

Help command #11

merged 2 commits into from
Jul 29, 2014

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jul 25, 2014

No description provided.

@@ -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);
Copy link
Contributor

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
ligaz pushed a commit that referenced this pull request Jul 29, 2014
@ligaz ligaz merged commit b961989 into master Jul 29, 2014
--[platform|list]--

Usage:
$ tns platform
Copy link
Contributor

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_?

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants