# YAML Workflow Executor Command Line Interface

> Sub-skill of yaml-workflow-executor: Command-Line Interface (+1).

- Skill: `vamseeachanta/yaml-workflow-executor-command-line-interface` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/yaml-workflow-executor-command-line-interface`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/yaml-workflow-executor-command-line-interface/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/yaml-workflow-executor-command-line-interface

---


# Command-Line Interface (+1)

## Command-Line Interface


```python
import argparse
import sys

def main():
    parser = argparse.ArgumentParser(
        description='Execute YAML-defined workflows'
    )
    parser.add_argument(
        'config',

*See sub-skills for full details.*

## Bash Wrapper


```bash
#!/bin/bash
# scripts/run_workflow.sh

CONFIG_FILE="${1:?Usage: $0 <config.yaml> [--override key=value]}"
shift

# Activate environment if needed
if [ -f ".venv/bin/activate" ]; then
    source .venv/bin/activate
fi

# Run workflow
python -m workflow_executor "$CONFIG_FILE" "$@"
```

