Command-Line Help for submit
This document contains the help content for the submit
command-line program.
Command Overview:
submit
Submit a workflow to a Stepflow service.
Submit a workflow to a running Stepflow service.
Examples
# Submit to local server
stepflow submit --flow=workflow.yaml --input=input.json
# Submit to remote server
stepflow submit --url=http://production-server:7837 --flow=workflow.yaml --input-json='{"key": "value"}'
# Submit with inline YAML input
stepflow submit --flow=workflow.yaml --input-yaml='param: value'
Usage: submit [OPTIONS] --flow <FILE>
Options:
-
--url <URL>
— The URL of the Stepflow service to submit the workflow toDefault value:
http://localhost:7837
-
--flow <FILE>
— Path to the workflow file to submit -
--input <FILE>
— The path to the input file to execute the workflow with.Should be JSON or YAML. Format is inferred from file extension.
-
--input-json <JSON>
— The input value as a JSON string -
--input-yaml <YAML>
— The input value as a YAML string -
--stdin-format <FORMAT>
— The format for stdin input (json or yaml).Only used when reading from stdin (no other input options specified).
Default value:
json
Possible values:
json
,yaml
-
--output <FILE>
— Path to write the output to.If not set, will write to stdout.