-
Notifications
You must be signed in to change notification settings - Fork 907
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
(GH-132) List command #225
Conversation
|
||
config.Quiet = true; | ||
config.PackageNames = list_run(config).Select(p => p.Name).@join(ApplicationParameters.PackageNamesSeparator); |
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.
Don't leave my config set to quiet.
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.
Good point
…o it works the way others do...
Move test into the PackageService so it happens during execution regardless of how it's called. Also did a minor refactor of line 431/436 to make the intent more readable.
@Jaykul @ferventcoder Is there anything that needs to happen for these to be unblocked? Really would like to incorporate these for ChocoGUI. I can take over work if necessary. |
I think I just need to take a look here and pull this in. |
using services; | ||
|
||
[CommandFor(CommandNameType.list)] | ||
[CommandFor(CommandNameType.search)] | ||
public sealed class ChocolateyListCommand : ICommand | ||
public sealed class ChocolateyListCommand : IListCommand<PackageResult> |
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.
@Jaykul I don't see IListCommand<T>
at all.
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.
I ended up reimplementing it, but didn't constrain T
as I am unsure how you would have constrained it.
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.
Found that it was already in master only.
This set of changes fixes the various incarnations of the LIST command so that they return ... lists :-)
It depends on #224
Closes #132
Closes #223