template copy

limactl template copy

Copy template

Synopsis

Copy a template via locator to a local file or stdout (default)

limactl template copy [OPTIONS] TEMPLATE [DEST] [flags]

Examples

  Template locators are local files, file://, https://, or template: URLs

  # Copy default template to STDOUT
  limactl template copy template:default -

  # Copy template from web location to local file and embed all external references
  # (this does not embed template: references)
  limactl template copy --embed https://example.com/lima.yaml mighty-machine.yaml

Options

      --embed[=true|false]       Embed external dependencies into template
      --embed-all[=true|false]   Embed all dependencies into template
      --fill[=true|false]        Fill defaults
  -h, --help[=true|false]        help for copy
      --param stringArray        Set a template parameter, e.g. name=value. Can be passed multiple times.
      --set stringArray          Modify the template inplace, using yq syntax. Can be passed multiple times. See 'limactl help yq-restrictions' for limitations.
      --verbatim[=true|false]    Don't make locators absolute

Options inherited from parent commands

      --debug[=true|false]   Debug mode
      --log-format string    Set the logging format [text, json] (default "text")
      --log-level string     Set the logging level [trace, debug, info, warn, error]
      --tty[=true|false]     Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation.
  -y, --yes[=true|false]     Alias of --tty=false

SEE ALSO