swf-cli 1.0.0-alpha8

CLI tool for executing Serverless Workflow definitions
swf-cli-1.0.0-alpha8 is not a library.

swf_cli

CLI tool for executing Serverless Workflow definitions.

Installation

cargo install swf_cli

Or download a pre-built binary from GitHub Releases.

Usage

# Run a workflow
swf workflow.yaml

# With input data
swf workflow.yaml --input '{"key": "value"}'

# With input from file
swf workflow.yaml --input @input.json

# Verbose output (shows workflow events)
swf workflow.yaml --verbose

# Disable secret manager
swf workflow.yaml --no-secret

# Custom secret env prefix
swf workflow.yaml --secret-prefix MY_SECRET_

# Show version
swf --version

Features

  • Execute Serverless Workflow YAML/JSON definitions
  • Expression evaluation (JQ-based runtime expressions)
  • Secret management via environment variables
  • Verbose event logging for debugging
  • Sub-workflow auto-discovery from ./workflows/ directory

License

Apache-2.0