old_contents: from flowy.swf.starter import WorkflowStarter
  import argparse
  
  parser = argparse.ArgumentParser()
  parser.add_argument("domain")
  parser.add_argument("name")
  parser.add_argument("version", type=int)
  parser.add_argument("--task_list")
  parser.add_argument("--decision_duration", type=int, default=None)
  parser.add_argument("--workflow_duration", type=int, default=None)
  parser.add_argument('args', nargs=argparse.REMAINDER)
  
  args = parser.parse_args()
  
  wf = WorkflowStarter(args.domain, args.name, args.version, args.task_list,
                       args.decision_duration, args.workflow_duration)
  
  wf(*args.args)
  
new_contents: from flowy.swf.boilerplate import workflow_starter
  import argparse
  
  parser = argparse.ArgumentParser()
  parser.add_argument("domain")
  parser.add_argument("name")
  parser.add_argument("version", type=int)
  parser.add_argument("--task_list")
  parser.add_argument("--decision_duration", type=int, default=None)
  parser.add_argument("--workflow_duration", type=int, default=None)
  parser.add_argument('args', nargs=argparse.REMAINDER)
  
  args = parser.parse_args()
  
  wf = workflow_starter(args.domain, args.name, args.version, args.task_list,
                        args.decision_duration, args.workflow_duration)
  
  wf(*args.args)
  
subject: update cmdline starter