Merge lp:~mvo/click/lp1294659-list-frameworks into lp:click/devel
Proposed by
Michael Vogt
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 426 |
Merged at revision: | 439 |
Proposed branch: | lp:~mvo/click/lp1294659-list-frameworks |
Merge into: | lp:click/devel |
Diff against target: |
81 lines (+49/-0) 3 files modified
click/commands/__init__.py (+1/-0) click/commands/framework.py (+42/-0) doc/manpage.rst (+6/-0) |
To merge this branch: | bzr merge lp:~mvo/click/lp1294659-list-frameworks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson | Approve | ||
Review via email: mp+219721@code.launchpad.net |
Description of the change
This branch adds a command to list the available frameworks.
Its almost too simple so feedback welcome, we might use "click frameworks list" if you prefer a subcommand instead.
To post a comment you must log in.
I'd prefer all the .py file names to be importable, to make future test code easier; so if we're going to have "click list-frameworks" then I'd like there to be something in the top-level command machinery that figures out that it needs to do s/-/_/g.
I think I have a slight preference for "click framework list" (singular "framework", by analogy with "click hook"), though. I can imagine other useful subcommands there, for example something to print a single field from an installed framework declaration.