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 if it just defaulted to 'sync' when the > first argument isn't one of the known subcommands? I think I'd go with `scap deploy` might be an even better command name. My fear with providing default behavior if the sub-command is unknown is that typos may lead to running a full scap when it's not expected. The python cmd.Cmd (https://docs.python.org/2/library/cmd.html) may be helpful for this transformation. There's also an interesting library at https://github.com/trentm/cmdln that could be used as inpiration for more advanced features or even imported as we already did with the cdblib module. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l