Skip to content
Last updated

Complete command reference for the Freddy Streamline CLI tool.

See CLI Installation for setup instructions.

Commands

streamline init

Initialize a new Streamline automation project.

streamline init [project-name]

Options:

  • --template <name> - Use a project template
  • --git <url> - Initialize with Git repository

Example:

streamline init my-automation
streamline init my-automation --template basic

streamline deploy

Deploy automation to Freddy platform.

streamline deploy

Options:

  • --env <environment> - Target environment (dev, staging, production)
  • --watch - Watch for changes and auto-deploy

Example:

streamline deploy
streamline deploy --env production

streamline run

Run automation locally for testing.

streamline run [entry-file]

Options:

  • --params <json> - Pass parameters as JSON
  • --debug - Enable debug mode

Example:

streamline run
streamline run main.py --params '{"key":"value"}'

streamline logs

View automation execution logs.

streamline logs [automation-id]

Options:

  • --follow - Follow log output
  • --limit <n> - Limit number of log entries

Example:

streamline logs sauto_abc123
streamline logs sauto_abc123 --follow

streamline list

List all automations in your organization.

streamline list

Options:

  • --org <org-id> - Filter by organization

Example:

streamline list
streamline list --org org_xyz789

streamline delete

Delete an automation.

streamline delete <automation-id>

Options:

  • --force - Skip confirmation prompt

Example:

streamline delete sauto_abc123
streamline delete sauto_abc123 --force

streamline config

Manage CLI configuration.

streamline config <key> [value]

Example:

streamline config api_key $FREDDY_API_KEY
streamline config default_org org_xyz789

streamline help

Display help information.

streamline help [command]

Example:

streamline help
streamline help deploy

Global Options

Available for all commands:

  • --api-key <key> - Override API key
  • --verbose - Enable verbose output
  • --quiet - Suppress non-error output
  • --version - Display CLI version

Environment Variables

  • FREDDY_API_KEY - API authentication key
  • STREAMLINE_ORG_ID - Default organization ID
  • STREAMLINE_ENV - Default environment (dev, staging, production)

Configuration File

The CLI uses ~/.streamline/config.json for persistent configuration:

{
  "api_key": "your-api-key",
  "default_org": "org_xyz789",
  "default_env": "production"
}

Exit Codes

  • 0 - Success
  • 1 - General error
  • 2 - Invalid arguments
  • 3 - Authentication error
  • 4 - Network error