feat(cli): pipelines update forwards to the installation's lifecycle
This commit is contained in:
@@ -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.",
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user