Skip to content
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

Add list dependencies #1661

Merged
merged 2 commits into from
Apr 6, 2016
Merged

Add list dependencies #1661

merged 2 commits into from
Apr 6, 2016

Conversation

TsvetanMilanov
Copy link
Contributor

Add list plugins registered in package.json file when executing tns plugin in project.
Add plugin find command to list the nativescript plugins available in npm. The command has --all and --count flags to change the output format.

Fixes #1231

Implements #1665

@TsvetanMilanov TsvetanMilanov self-assigned this Mar 31, 2016
@TsvetanMilanov
Copy link
Contributor Author

ping @ikoevska for the documentation


canExecute(args: string[]): IFuture<boolean> {
return (() => {
return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use:

canExecute(args: string[]): IFuture<boolean> {
    return Future.fromResult(true);
}

@TsvetanMilanov TsvetanMilanov force-pushed the milanov/add-list-plugins branch from ada63b0 to 154e919 Compare April 4, 2016 09:18
@TsvetanMilanov
Copy link
Contributor Author

run ci


Usage | Synopsis
---|---
Finds NativeScript plugins in npm | `$ tns plugin find [<PluginName>] [--all] [--count <Count>]`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finds NativeScript plugins in npm -> General

Unless there are multiple entries and combos of options which do different things, we usually go with General

On a side note, you can break it down to:

General (syntax without the PluginName attribute)
Find plugin by name (syntax with the PluginName attribute)

@ikoevska
Copy link
Contributor

ikoevska commented Apr 4, 2016

In addition to my other comments, you need to add plugin find and plugin search in index.md as well.

Finds NativeScript plugins in npm.

### Options
* `--all` - Specifies that all results will be displayed at once.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifies that all results will be shown at once.

@TsvetanMilanov TsvetanMilanov force-pushed the milanov/add-list-plugins branch from 154e919 to cd7a3a1 Compare April 4, 2016 12:36
@rosen-vladimirov
Copy link
Contributor

👍

Add list plugins registered in package.json file when executing tns plugin in project.
Add plugin find command to list the nativescript plugins available in npm. The command has --all and --count flags to change the output format.
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/add-list-plugins branch from cd7a3a1 to 2ac30c8 Compare April 5, 2016 07:03
@TsvetanMilanov TsvetanMilanov merged commit b67842e into master Apr 6, 2016
@TsvetanMilanov TsvetanMilanov deleted the milanov/add-list-plugins branch April 6, 2016 07:09
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.

3 participants