-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Conversation
👍 |
@@ -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`. |
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.
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`.<% } %>
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.
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..."
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.
And make this "Use the tns plugin
set of commands."
✅ |
9fc3e6b
to
15b5fbb
Compare
✅ |
@@ -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`.<% } %>. |
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.
Hmmm, make this "The tns library
command is deprecated" perhaps - sorry about that.
15b5fbb
to
c2c6ce6
Compare
✅ |
👍 |
Add warning that library add command will be removed in a future release
No description provided.