Skip to main content

signaloid-cli repos update

Update repository settings.

Synopsis

signaloid-cli repos update --repo-id <id> [options]

Options

OptionRequiredDescription
--repo-id <id>YesRepository ID
--commit <sha>NoUpdate commit hash
--branch <name>NoUpdate branch
--dir <path>NoUpdate build directory
--args <args>NoUpdate default arguments
--core-id <coreId>NoUpdate 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