A command-line tool for finding and executing ScenarioFlow files (.sf.ts) with
network permissions.
cd scenario-flow-cli
deno task installThis will install the sfcli command globally, making it available from
anywhere on your system.
cd scenario-flow-cli
deno task start [directory]# Show help
sfcli -h
sfcli --help
# Run all .sf.ts files in current directory
sfcli .
# Run all .sf.ts files in specified directory
sfcli ./path/to/scenarios# Find and execute all .sf.ts files in the current directory
sfcli .
# Find and execute all .sf.ts files in the example directory
sfcli ../example
# Show help information
sfcli -hThe CLI tool:
- Searches recursively for all files with the
.sf.tsextension in the specified directory - Executes each file using
deno run --allow-net <file> - Reports results showing which files were executed successfully
- Provides summary of execution results
- ✅ Recursive directory scanning
- ✅ Automatic network permission (
--allow-net) - ✅ Clear execution feedback
- ✅ Error handling and reporting
- ✅ Help documentation
- ✅ Global installation support
deno task testdeno task dev- Deno runtime
- Network access for executing ScenarioFlow files
- Read permissions for file system scanning
- Run permissions for executing Deno commands