Skip to content

Add warning that library add command will be removed in a future release #889

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 1 commit into from
Sep 8, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Sep 8, 2015

No description provided.

@Fatme Fatme added the bug label Sep 8, 2015
@Fatme Fatme added this to the 1.3.0 milestone Sep 8, 2015
@Fatme
Copy link
Contributor Author

Fatme commented Sep 8, 2015

@ikoevska

@teobugslayer
Copy link
Contributor

👍

@@ -7,21 +7,23 @@ General | `$ tns library add <Platform> <Library Path>`

Adds a locally stored native library to the current project. <% if(isHtml) { %>Copies the library files to the `lib/<platform>` folder in your project and configures the platform-specific projects in `platforms/<platform>` to work with the library. Build operations might perform additional configuration changes on the platform-specific project in `platforms/<platform>`.<% } %>

IMPORTANT: The `tns library add` command is deprecated and will be removed in a future release. Use the plugin set of commands instead. For more information, run `tns help plugin`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Here, we can make this more user-friendly. For the "for more information part", use context.

For more information, <% if(isHtml) { %>see the [plugin](plugin.html) set of commands.<% } %><% if(isConsole) { %>run `tns help plugin`.<% } %>

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, it seems that we're probably deprecating the entire library set of commands. Shouldn't we apply this message to the library command as well? If we decide to do this Make the message "The tns library set of commands is deprecated and..."

Copy link
Contributor

Choose a reason for hiding this comment

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

And make this "Use the tns plugin set of commands."

@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@Fatme Fatme force-pushed the fatme/warning-for-add-library branch from 9fc3e6b to 15b5fbb Compare September 8, 2015 11:16
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@@ -7,11 +7,13 @@ General | `$ tns library <Command>`

Lets you manage third-party native libraries in your project. You must run the `library` command with a command extension.

IMPORTANT: The `tns library` set of commands are deprecated and will be removed in a future release. Use the `tns plugin` set of commands instead. For more information, <% if(isHtml) { %>see the [plugin](plugin.html) set of commands.<% } %><% if(isConsole) { %>run `tns help plugin`.<% } %>.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmmm, make this "The tns library command is deprecated" perhaps - sorry about that.

@Fatme Fatme force-pushed the fatme/warning-for-add-library branch from 15b5fbb to c2c6ce6 Compare September 8, 2015 12:40
@ns-bot
Copy link

ns-bot commented Sep 8, 2015

@ikoevska
Copy link
Contributor

ikoevska commented Sep 8, 2015

👍

Fatme pushed a commit that referenced this pull request Sep 8, 2015
Add warning that library add command will be removed in a future release
@Fatme Fatme merged commit 8b98695 into release Sep 8, 2015
@Fatme Fatme deleted the fatme/warning-for-add-library branch September 8, 2015 13: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.

4 participants