diff options
Diffstat (limited to 'becommands/template')
-rw-r--r-- | becommands/template | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/becommands/template b/becommands/template new file mode 100644 index 0000000..3c871e6 --- /dev/null +++ b/becommands/template @@ -0,0 +1,21 @@ +"""Short description""" +from libbe import bugdir, cmdutil, names +import os +def execute(args): + options, args = get_parser().parse_args(args) + if len(args) > 0: + raise cmdutil.UsageError + + +def get_parser(): + parser = cmdutil.CmdOptionParser("be list [options]") +# parser.add_option("-w", "--wishlist", action="store_true", dest="wishlist", +# help="List bugs with 'wishlist' severity") + return parser + +longhelp=""" +This is for the longwinded description +""" + +def help(): + return get_parser().help_str() + longhelp |