Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.61 KB

File metadata and controls

47 lines (34 loc) · 1.61 KB

flow


A collection of real-world flow automation examples showing how developers use flow to automate their daily workflows. Intended as a living reference and starting point for your own workspace.

Getting Started

# Register this repo as a flow workspace
flow workspace add flow-examples . --set

# Browse all available executables
flow browse

Structure

Directory What it shows
basics/ Core feature reference — one file per executable type
go-project/ Full developer lifecycle (build, test, lint, release) — same pattern applies to any ecosystem (Node, Rust, Python…)
git/ Git workflow helpers (commit, fetch/rebase, branch cleanup)
api/ HTTP automation — GitHub REST API, webhook dispatch
docker/ Container workflows (build, run, push, clean)
kubernetes/ kubectl automation (context, apply, pods, logs, shell) + Helm shared-library pattern (reusable installer called by app deployers)
setup/ Project onboarding (prereq checks, tool install, env config)
assets/ Supporting scripts and templates referenced by examples

Template

exec-template.flow.tmpl is an executable template — run it to scaffold a starter flow file for a new project:

flow template generate NAME exec-template.flow.tmpl

Validation

All .flow files in this repo are schema-validated in CI:

flow validate