while looking at adding support for editing project configuration,
I thought that I'd like to organize osc subcommands that show or change
metadata in a more consistent way.
I have written down some ideas, that involve some renaming, and I'm
wondering what would make most sense to most people:
current: new (read): new (write):
usermeta,edituser showuser edituser
meta,editmeta showpacmeta editpacmeta
meta,editprj showprj editprj
meta,editpac showpac editpac
updatepacmetafromspec editpac --fromspec
- showprjconf editprjconf
This swamps the "osc help" output with new commands... but they will at
least appear together, since alphabetically sorted...
Only have a "showmeta" and a "editmeta" subcommand, which take their
subcommand specifying what kind of metadata to work on:
editmeta pac [--fromspec]
Or maybe even put them under a single subcommand, "meta":
meta [--edit] user
meta [--edit] prj
meta [--edit] prjconf
meta [--edit] pac
Anyone has an opinion on that?
Allen Gewalten zum Trutz sich erhalten.
SUSE LINUX Products GmbH
Research & Development