Skip to content

update

mach-composer update

Update all (or a given) component.

mach-composer update [flags]

Options

      --check                   Only checks for updates, doesnt change files.
      --cloud                   Use MACH composer cloud to check for updates.
  -c, --commit                  Automatically commits the change.
  -m, --commit-message string   Use a custom message for the commit.
      --component stringArray   
  -f, --file string             YAML file to update. (default "main.yml")
      --git-fallback            Fallback to git if composer cloud check fails.
  -h, --help                    help for update
      --short-hash              Use short (7 character) git hashes instead of full length hashes

Options inherited from parent commands

      --output string   The output type. One of: console, json (default "console")
  -q, --quiet           Quiet output. This is equal to setting log levels to error and higher
      --strip-logs      Strip all context from the logs
  -v, --verbose         Verbose output. This is equal to setting log levels to debug and higher

SEE ALSO

  • mach-composer - MACH composer is an orchestration tool for modern MACH ecosystems