Initial pipelines server, CLI, TUI, and Go installation
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
package cli
|
||||
|
||||
const help = `PIPELINES — reusable workflows for your repositories
|
||||
|
||||
Usage: pipelines <command> [arguments] [options]
|
||||
|
||||
AUTHOR
|
||||
new [name] [prompt] Create a draft and open OpenCode with @pipelines
|
||||
edit [name|id] [prompt] Pick a pipeline, draft changes, open OpenCode
|
||||
drafts List retained draft files (including TUI drafts)
|
||||
validate <draft.md> Check a draft using the server's validator
|
||||
submit <draft.md> Explicitly publish a new immutable version
|
||||
|
||||
BROWSE
|
||||
list List registered pipelines
|
||||
show <name|id> Inspect graph, settings, source and history
|
||||
versions <name|id> List immutable versions
|
||||
export <name|id> Print original Markdown source
|
||||
templates List optional templates (never seeds the DB)
|
||||
template <key> Inspect a template; --source prints Markdown
|
||||
|
||||
EXECUTE
|
||||
run [name] [prompt] Fuzzy selection, multiline prompt, live inspector
|
||||
runs List audited runs; --pipeline filters results
|
||||
inspect <run-id> Inspect stages, outputs, errors and status
|
||||
cancel <run-id> Cancel a run; changes are NOT rolled back
|
||||
connection Server and public phone connection (no secrets)
|
||||
ping Check the server connection
|
||||
rpc <request.json|-> Send any protocol command (automation escape hatch)
|
||||
|
||||
SERVICE / INTERFACE (managed installation)
|
||||
tui Open the dashboard (default with no command)
|
||||
start | stop | restart Manage the native server + Docker ntfy together
|
||||
status | doctor | logs Health, OpenCode discovery, server logs
|
||||
uninstall [--purge] Remove app; retain data unless explicitly purged
|
||||
|
||||
Options: --url ws://127.0.0.1:8080/connect --json --help
|
||||
Use pipelines help <command> for its flags. Names with spaces must be quoted.
|
||||
|
||||
Examples:
|
||||
pipelines edit "bug fix" "Add a review step"
|
||||
pipelines new "release notes" "Summarize changes and notify my phone"
|
||||
pipelines new "weekly digest" --template scheduled-summary --no-open --json
|
||||
pipelines validate /path/to/draft.md --json
|
||||
pipelines submit /path/to/draft.md
|
||||
pipelines run "bug fix" "Fix the layout" --yes --json
|
||||
|
||||
Draft-first: OpenCode edits a private draft; nothing is published automatically.
|
||||
Every submission is validated server-side. Submission activates any schedules.
|
||||
JSON mode never launches an editor or picker; supply explicit arguments.
|
||||
`
|
||||
Reference in New Issue
Block a user