Skip to content

Workflow CLI Template? #1251

@blakedewey

Description

@blakedewey

I have been thinking for a while that we don't have a clear template that allows people to leverage their workflows from the CLI. I normally have a script that:

  1. Has a __name__=="__main__" block that contains an argument parser from argparse
  2. Passes input arguments to a function that creates my workflow based on those inputs
  3. Runs the workflow with the specified parallel plugin

Is this how everyone does it? Or is do you always run from an interactive window? I have built up some boilerplate for parsing in parallel plugins/args in particular and I am wondering how best to share them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions