Skip to content
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

choco list / search - Option to list packages only by name #1237

Closed
nvivo opened this issue Apr 4, 2017 · 4 comments
Closed

choco list / search - Option to list packages only by name #1237

nvivo opened this issue Apr 4, 2017 · 4 comments

Comments

@nvivo
Copy link

nvivo commented Apr 4, 2017

This is related to a question on stackoverflow, there should be a simple way to list the packages without package versions.

Analogous to a dir /b, there should be a clist -b or something that simply lists package names, one per line without versions. This makes things much simpler to automate than dealing with xml files or powershell.

Even if there is a simple way to generate xml files, it's still useful to allow a simple list of packages we can xargs into a new command line.

@ferventcoder
Copy link
Member

Sounds good. I'd assume it won't be -b, but maybe something like --by-name-only

@ferventcoder
Copy link
Member

Note that I've opened this for "Up For Grabs" (open for contributions). As there are currently ways to do this, it's also been marked as low priority. However the functionality would be pretty simple to add.

torhovland pushed a commit to torhovland/choco that referenced this issue Apr 15, 2017
@torhovland
Copy link

I've submitted a PR for this: #1254

torhovland pushed a commit to torhovland/choco that referenced this issue Apr 16, 2017
ferventcoder pushed a commit that referenced this issue May 19, 2017
Previously, list/search results would have id and other information,
typically at least the version as well. Sometimes it makes sense to just
see the id of the package. Allow for that to occur in different
scenarios.
ferventcoder added a commit that referenced this issue May 19, 2017
* pr1254:
  (GH-1237) Choco list/search results by id only
ferventcoder added a commit to ferventcoder/choco that referenced this issue May 19, 2017
* stable:
  (chocolateyGH-1237) Choco list/search results by id only
@ferventcoder ferventcoder modified the milestones: 0.10.x, 0.10.6 May 19, 2017
@ferventcoder ferventcoder self-assigned this May 19, 2017
@ferventcoder
Copy link
Member

Going into 0.10.6

@ferventcoder ferventcoder changed the title Add command to list packages only by name Choco list / search - option to list packages only by name May 24, 2017
@ferventcoder ferventcoder changed the title Choco list / search - option to list packages only by name Choco list / search - Option to list packages only by name May 24, 2017
@ferventcoder ferventcoder changed the title Choco list / search - Option to list packages only by name choco list / search - Option to list packages only by name May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants