Skip to main content

CLI Reference

Stepflow provides several commands for executing workflows in different ways. This reference covers all available commands and their options.

Commands

  • run - Run a workflow directly
  • serve - Start a Stepflow service
  • submit - Submit a workflow to a Stepflow service
  • test - Run tests defined in workflow files or directories
  • list-components - List all available components from a stepflow config
  • repl - Start an interactive REPL for workflow development and debugging
  • validate - Validate workflow files and configuration
  • visualize - Visualize workflow structure as a graph

Global Options

All commands support these global options:

  • --log-level <LEVEL> - Set the log level for Stepflow
  • --other-log-level <LEVEL> - Set the log level for other parts of Stepflow
  • --log-file <FILE> - Write logs to a file instead of stderr
  • --omit-stack-trace <OMIT_STACK_TRACE> - Omit stack traces (line numbers of errors)