Skip to content

feat: add configurable updateTrigger for CLI commands#408

Merged
shannah merged 1 commit intomasterfrom
feature/configurable-update-trigger
Feb 11, 2026
Merged

feat: add configurable updateTrigger for CLI commands#408
shannah merged 1 commit intomasterfrom
feature/configurable-update-trigger

Conversation

@shannah
Copy link
Copy Markdown
Owner

@shannah shannah commented Feb 11, 2026

Add updateTrigger field to CommandSpec allowing customization of the argument that triggers the updater implementation. Previously hard-coded to "update", users can now configure this via package.json. Defaults to "update" for backward compatibility.

Example usage in package.json:
"commands": {
"myapp": {
"implements": ["updater"],
"updateTrigger": "upgrade"
}
}

Add updateTrigger field to CommandSpec allowing customization of the
argument that triggers the updater implementation. Previously hard-coded
to "update", users can now configure this via package.json. Defaults to
"update" for backward compatibility.

Example usage in package.json:
  "commands": {
    "myapp": {
      "implements": ["updater"],
      "updateTrigger": "upgrade"
    }
  }
@shannah shannah merged commit e545674 into master Feb 11, 2026
10 checks passed
@shannah shannah deleted the feature/configurable-update-trigger branch February 11, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant