flow

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

flow

GitHub release Go Reference Join Discord GitHub Repo stars

flow is your personal workflow hub - organize automation across all your projects with built-in secrets, templates, and cross-project composition. Define workflows in YAML, discover them visually, and run them anywhere.


Quick Start

# Install
curl -sSL https://raw.githubusercontent.com/flowexec/flow/main/scripts/install.sh | bash

# Create your first workflow
flow workspace add my-project . --set
echo 'executables:
  - verb: run
    name: hello
    exec:
      cmd: echo "Hello from flow!"' > hello.flow

# Run it
flow sync
flow run hello

Key Features

flow complements existing CLI tools by adding multi-project organization, built-in security, and visual discovery to your automation toolkit.

  • Workspace organization - Group and manage workflows across multiple projects
  • Encrypted secret vaults - Multiple backends (AES, Age, external tools)
  • Interactive discovery - Browse, search, and filter workflows visually
  • Flexible execution - Serial, parallel, conditional, and interactive workflows
  • Workflow generation - Create projects and workflows from reusable templates
  • Composable workflows - Reference and chain workflows within and across projects

flow

Example Workflows

# api.flow
executables:
  - verb: deploy
    name: staging
    serial:
      execs:
        - cmd: npm run build
        - cmd: docker build -t api:staging .
        - ref: shared-tools/k8s:deploy-staging
        - cmd: curl -f https://api-staging.example.com/health

  - verb: backup
    name: database
    exec:
      params:
        - secretRef: database-url
          envKey: DATABASE_URL
      cmd: pg_dump $DATABASE_URL > backup-$(date +%Y%m%d).sql
# Run workflows
flow deploy staging
flow backup database

# Visual discovery
flow browse

Documentation

Complete documentation at flowexec.io

Community

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package cmd handle the cli commands
Package cmd handle the cli commands
internal
cache/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
io
runner/engine/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
runner/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
services/store/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
tests
tools
types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL