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 the default runtime 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 runtime arguments, or assigned core. The --args value sets the runtime arguments that are passed to your program as command-line arguments when it runs, not compiler flags. Only the specified options are updated, and 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 "--samples 1000 --input data.csv"
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 runtime arguments:
signaloid-cli repos update \
--repo-id rep_abc123 \
--args ""
Notes
- Only the specified options are updated, and 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