signaloid-cli repos update
Update repository settings.
Synopsis
signaloid-cli repos update --repo-id <id> [options]
Options
| Option | Required | Description |
|---|---|---|
--repo-id <id> | Yes | Repository ID |
--commit <sha> | No | Update commit hash |
--branch <name> | No | Update branch |
--dir <path> | No | Update build directory |
--args <args> | No | Update default arguments |
--core-id <coreId> | No | Update core ID |
Description
Updates the configuration of a connected repository. You can modify the branch, commit, build directory, default arguments, or assigned core. Only the specified options are updated; other settings remain unchanged. Updates take effect on the next build.
Examples
Update branch:
signaloid-cli repos update \
--repo-id rep_abc123 \
--branch develop
Update multiple settings:
signaloid-cli repos update \
--repo-id rep_abc123 \
--branch main \
--dir src/application \
--args "--optimize --verbose"
Update to specific commit:
signaloid-cli repos update \
--repo-id rep_abc123 \
--commit 1234567890abcdef
Update core assignment:
signaloid-cli repos update \
--repo-id rep_abc123 \
--core-id cor_e7eec4dce06f5a03a1b5418e0c5cbd7e # C0Pro-S+
Clear default arguments:
signaloid-cli repos update \
--repo-id rep_abc123 \
--args ""
Notes
- Only specified options are updated; others remain unchanged
- Updates take effect on the next build
- Returns the updated repository object
See Also
- signaloid-cli repos get - Get repository details
- signaloid-cli repos connect - Connect a new repository
- signaloid-cli repos - Repository management overview