Commit debc1f59 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

make the basic command line clean

parent 3afa3927
......@@ -129,7 +129,11 @@ if __name__ == '__main__':
pgroup.add_argument(param.flag, **param.export_to_argparse())
args = vars(parser.parse_args())
if not "cmd_object" in args:
parser.exit(0, "")
if args["cmd_object"] in wf_classes:
wfmanager.run_workflow(args["cmd_object"], args)
elif args["cmd_object"] == "rerun":
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment