Skip to content

Difference between "tns plugin add" and "tns plugin install" #3677

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

Closed
cvietor opened this issue Jun 12, 2018 · 1 comment
Closed

Difference between "tns plugin add" and "tns plugin install" #3677

cvietor opened this issue Jun 12, 2018 · 1 comment
Assignees

Comments

@cvietor
Copy link

cvietor commented Jun 12, 2018

Hi,
is there any difference between these two commands ? As far as i can tell, the docs are the same and they seem to do the same thing.

Edit:
After looking into the code, i realised that the "install" command actually runs the "add" command :)

bootstrap.ts:
$injector.requireCommand("plugin|add", "./commands/plugin/add-plugin"); $injector.requireCommand("plugin|install", "./commands/plugin/add-plugin");

Should be mentioned in the docs that "install" is actually just an alias for "add" to avoid confusion.

@KristianDD
Copy link
Contributor

Hi @cvietor ,
Thank you for reporting this and the effort you put into investigating it. We created and merged a PR to list the alias of the tns plugin install/add command.

If you find any other issues you are welcome to create a PR. We will be more than happy to review it and provide any help you need to contribute to the project. Again thank you for reporting this.

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

No branches or pull requests

3 participants