https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
--- Comment #5 from Mukunda Modell mmod...@wikimedia.org ---
Can't this be done as a simple shell script that just rewrites scap $1
to scap-$1 $@
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
--- Comment #6 from Bryan Davis bda...@wikimedia.org ---
(In reply to Mukunda Modell from comment #5)
Can't this be done as a simple shell script that just rewrites scap $1
to scap-$1 $@
Sure, but I think we are trying to kill sh/bash/dash
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
--- Comment #7 from Mukunda Modell mmod...@wikimedia.org ---
In this case I think that 1 line of simple bash code would trump a few dozen or
more lines of python. Is there a justification of avoiding bash when the
complexity of shell code is
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
--- Comment #3 from Antoine hashar Musso has...@free.fr ---
argparse supports sub commands
https://docs.python.org/2.7/library/argparse.html#sub-commands
Before writing any code, we might want to list out the tree of possible
commands. Bryan
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
--- Comment #4 from Greg Grossmeier g...@wikimedia.org ---
Alright, bugzilla isn't necessarily the best place for bike shedding, and I
don't want Mukunda to be blocked by that before he starts on this work... so...
Here's the list of commands
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
Mukunda Modell mmod...@wikimedia.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
--- Comment #2 from Bryan Davis bda...@wikimedia.org ---
(In reply to Mukunda Modell from comment #1)
I'd like to take this one.
in the case of `scap scap` above, I think I'm allergic to that repitition.
`scap sync` would be cool, or what
https://bugzilla.wikimedia.org/show_bug.cgi?id=65827
Bryan Davis bda...@wikimedia.org changed:
What|Removed |Added
Priority|Unprioritized |Low