feat(cli): pipelines update forwards to the installation's lifecycle

This commit is contained in:
2026-10-23 23:41:15 +01:00
parent afba02899d
commit d50deecf98
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -72,5 +72,6 @@ var serviceHelp = map[string]string{
"restart": "Stop, then start both services, retaining definitions, run history, and credentials.",
"doctor": "Check both health endpoints and host OpenCode API discovery; does not execute a model.",
"logs": "Follow the native server log. Press Ctrl+C to stop following.",
"update": "Update this installation: wait for executing runs, pull the source checkout it was installed from, re-run its installer the same way (data and credentials kept), restart, and print the startup report.",
"uninstall": "Remove verified Go binaries from this command's bin directory; retain data and drafts. --yes skips confirmation. Existing managed installations can be selected explicitly with PIPELINES_PREFIX.",
}
+1
View File
@@ -53,6 +53,7 @@ SERVER / INTERFACE
service enable Configure user autostart
service disable | status Stop/remove autostart, or inspect OS service status
skill install Install/update the shared OpenCode and Claude Code workflow skill
update Update this installation from its source checkout
uninstall [--yes] Remove verified Go binaries; retain data and drafts
Legacy managed installs: select PIPELINES_PREFIX explicitly for start/stop,
+1 -1
View File
@@ -100,7 +100,7 @@ func (c Config) Environment() error {
func Service(action string) bool {
switch action {
case "start", "stop", "restart", "doctor", "logs", "uninstall":
case "start", "stop", "restart", "doctor", "logs", "uninstall", "update":
return true
}
return false