codchi rebuild

Apply changes to a code machine. By default this also fetches updates for each module.

Synopsis

codchi rebuild -n|--no-update-v|--verbose... -q|--quiet... --json -h|--help <NAME>

Description

When a code machine is modified, it needs to be rebuilt in order to apply the changes. Modifications include:

  • A module was added, modified or removed
  • The configuration of a remote module was modified
  • The configuration of a local module was modified

To prevent the fetching of updates, use --no-update.

Options

  • -n, --no-update
    Dont fetch module updates
  • -v, --verbose
    Increase logging verbosity
  • -q, --quiet
    Decrease logging verbosity
  • --json
    Produce output in JSON format, suitable for consumption by another program
  • -h, --help
    Print help (see a summary with -h)
  • <NAME>
    Name of the code machine

Examples

Apply local and remote changes:

codchi rebuild <MACHINE_NAME>

Apply only local changes:

codchi rebuild <MACHINE_NAME> --no-update