init, completion, version
init
graphenectl init <name>
Scaffolds a pipeline project in the current directory: main.go with
a typed pipeline.Main, a Dockerfile, a Makefile. One main == one
pipeline; from there the binary manages itself (go run . push,
go run . run).
$ graphenectl init perf-nightly
main.go
go.mod
Dockerfile
Makefile
completion
graphenectl completion bash|zsh|fish|powershell
Prints the shell hook. Completion covers the whole grammar — commands, subcommands, flags — and looks things up live where it can (a 2s best-effort timeout, silent when the server is away): kinds and ids from the installation, context names from the local file.
$ source <(graphenectl completion bash) # ~/.bashrc
$ source <(graphenectl completion zsh) # ~/.zshrc
$ graphenectl completion fish | source # config.fish
What it feels like:
$ graphenectl get <TAB>
agent all artifact docker-volume pipeline run stand
$ graphenectl get run <TAB>
logs-test-2 watch-demo perf-nightly-20260821-112341
$ graphenectl ctx use <TAB>
dev dev-admin
--version
$ graphenectl --version
graphenectl version dev