Install or update resources on the system based on a codify.jsonc file.

[1mUSAGE[22m
  $ codify apply [TARGETS...] [--debug] [-o plain|default|json] [-p
    <value>] [--var name=value...] [-r | -t] [-S <value>] [-y]
    [--auto-approve-all] [-v] [--allow-sleep]

[1mARGUMENTS[22m
  [TARGETS...]  A codify file or directory, a document id, resource types, or a
                template name

[1mFLAGS[22m
  -S, --sudoPassword=[4m<value>[24m  Automatically use this password for any handlers
                              that require elevated permissions.
  -o, --output=[4m<option>[24m       Control the output format. Default to default and
                              plain for non-tty environments. Use json for
                              scripts
                              <options: plain|default|json>
  -p, --path=[4m<value>[24m          Path to run Codify from.
  -r, --resource              Read every argument as a resource type (ex: codify
                              apply -r nvm pyenv).
  -t, --template              Read the argument as a template name. Use this
                              when a template has the same name as a resource
                              type.
  -v, --verbose               Print plugin output (stdout/stderr) to the
                              terminal.
  -y, --yes                   Automatically approve the apply without prompting
                              for confirmation.
      --allow-sleep           Allow the system to sleep during apply operations.
      --auto-approve-all      Approve everything without prompting, including
                              commands (actions) that come from templates. Same
                              as -yy. Only use this with templates you trust.
      --debug                 Print additional debug logs.
      --var=[4mname=value...[24m     Value for a variable, used instead of asking. Can
                              be repeated. Use template.name=value for the
                              variables of a template.

[1mDESCRIPTION[22m
  Install or update resources on the system based on a codify.jsonc file.

  Codify first generates a plan to determine the necessary execution steps. See
  [1m[45mcodify plan --help [49m[22m for more details.
  The execution plan will be presented and approval will be asked before Codify
  applies
  any changes.

  For scripts: use [1m[45m --output json [49m[22m which will skip approval and
  apply changes directly.

  Commands (actions) that come from templates always have to be approved, even
  with -y.
  Use [1m[45m -yy [49m[22m or [1m[45m --auto-approve-all [49m[22m to approve them as well.

  The config can be a local file or directory, a Codify dashboard document id,
  one or more
  resource types, or a public template name. With no argument, the codify file
  in the current
  directory is used. Arguments are read in this order: codify file, resource
  type, template.
  Resource types and templates can't be combined. Use [1m[45m --resource [49m[22m or[1m[45m[49m
  [45m--template [49m[22m to skip the detection
  (ex: when a template has the same name as a resource type).

  For more information, visit: https://codifycli.com/docs/commands/apply


[1mEXAMPLES[22m
  $ codify apply

  $ codify apply ./my-setup.codify.jsonc

  $ codify apply nvm pyenv

  $ codify apply @codifycli/js-essentials

  $ codify apply --template <template name>

  $ codify apply --path ~

  $ codify apply -o json

  $ codify apply -S <sudo password>

  $ codify apply -yy

