-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update: list all existing pligins when checking plugin list, not just installed #3080
Conversation
Can you fix the alignment (padding)? |
what format you think is better? |
Co-authored-by: Shargon <[email protected]>
I like the idea :) |
But we can't get description for uninstalled, its contained within the plugins. |
@@ -242,12 +242,16 @@ private async void OnPluginsCommandAsync() | |||
if (installedPlugin.Length == 1) | |||
{ | |||
var plugin = $"(installed) {p}"; | |||
plugin = plugin.PadLeft(25); |
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.
You can do something like this for padding in dotnet
like it's easier and cleaner. $"(Installed) {p, 25}"
Then it's better like this: Installed:
|
We are not filling this field, but we can add a short description to the asset |
@Jim8y We can add a |
Another thing. |
@Jim8y if you need help, I can help |
It not about that, just not a thing this pr tries to work. Manifest maybe, not this pr. |
It's a good idea |
Manifest is a manifest of plugins, which is not in this repo yet. Good idea or not. It's another thing. And I don't think downloading a file directly from the source is a good thing. |
It would be published to the |
I don't want discuss it in this pr. This pr only focus on solve a simple issue which is the name of all plugins. Yes, we may get description from somewhere, it is another task. |
I find the issue and open the pr cause I need it now to debug the existing system, waiting for a release takes too long. |
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.
We can add the description when it's available
I hate hardcoded values, so for me It's good to move to settings. |
Exactly, especially if the application has other plugins list |
We can improve it later, when we upload the manifest in modules |
…to specify-log-exception * 'specify-log-exception' of github.com:Liaojinghui/neo: Update: list all existing pligins when checking plugin list, not just installed (neo-project#3080)
This pr update the
plugins
command.In the past, this command only list the local installed plugins, now it also list other plugins avaliable for neo-cli.
The reason for adding this pr is because the plugins name is hard to remember, yet checking them have to go to the github release log.