Documentation
¶
Overview ¶
Package cmd wires the `ronja` command tree.
Design constraints, in priority order:
- An agent must be able to drive this without a TTY. Every command takes --json, never prompts when stdin is not a terminal, and exits non-zero on failure with the reason on stderr.
- A human must find it pleasant. Human output is short, and the next action is always spelled out.
Index ¶
Constants ¶
View Source
const ( DefaultWaitInterval = 3 * time.Second DefaultWaitTimeout = 5 * time.Minute )
DefaultWaitInterval is the cadence --wait-until polls at.
3s matches what the web app polls a running workflow at, and the interval is EXACT — it does not back off. A caller who names a cadence has said what they want, and a poller that quietly stretched to 30s would make a --wait-interval of 1s a lie. --wait-timeout is what bounds the total cost.
Variables ¶
View Source
var Version = "dev"
Version is stamped at build time by the release pipeline:
go install -ldflags "-X github.com/ronjatech/ronja-cli/internal/commands.Version=$(git describe --tags)" ./cmd/ronja
It stays "dev" for a plain `go build` from a checkout, and resolveVersion recovers the real one for `go install ...@version`.
Functions ¶
Types ¶
This section is empty.
Source Files
¶
- alias.go
- api.go
- api_form.go
- api_output.go
- auth.go
- automation.go
- automation_file.go
- automation_init.go
- automation_push.go
- automation_status.go
- bind.go
- context.go
- context_local.go
- context_policy.go
- dataapp.go
- dataapp_clone.go
- dataapp_discard.go
- dataapp_fork.go
- dataapp_init.go
- dataapp_publish.go
- dataapp_push.go
- dataapp_status.go
- dataapp_test_cmd.go
- dataapp_test_output.go
- dataapp_test_report.go
- dataapp_validate.go
- database.go
- database_migrate.go
- database_promote.go
- database_proxy.go
- database_sql.go
- env.go
- head_version.go
- legacy.go
- module.go
- module_clone.go
- module_discard.go
- module_init.go
- module_markers.go
- module_publish.go
- module_push.go
- module_status.go
- module_validate.go
- outfile.go
- picker.go
- pipeline.go
- pipeline_checks.go
- pipeline_checks_apply.go
- pipeline_checks_print.go
- pipeline_checks_status.go
- pipeline_clone.go
- pipeline_discard.go
- pipeline_docs.go
- pipeline_init.go
- pipeline_metric_tags.go
- pipeline_metrics.go
- pipeline_publish.go
- pipeline_push.go
- pipeline_status.go
- profile.go
- query.go
- role.go
- root.go
- secret.go
- secret_browser.go
- secret_connect.go
- secret_values.go
- sqlsemantics.go
- stdin.go
- sync.go
- sync_apply.go
- sync_check.go
- sync_decision.go
- sync_edges.go
- sync_verdict.go
- sync_walk.go
- token.go
- update.go
- update_check.go
- workflow.go
- workflow_clone.go
- workflow_discard.go
- workflow_findings.go
- workflow_init.go
- workflow_params.go
- workflow_publish.go
- workflow_push.go
- workflow_push_metadata.go
- workflow_push_zone.go
- workflow_runcmd.go
- workflow_runtime.go
- workflow_status.go
- workflow_testcmd.go
- workflow_testreport.go
- workflow_validate.go
Click to show internal directories.
Click to hide internal directories.