template copy
limactl template copy
Copy template
Synopsis
Copy a template via locator to a local file
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 Embed external dependencies into template
--embed-all Embed all dependencies into template
--fill Fill defaults
-h, --help help for copy
--verbatim Don't make locators absolute
Options inherited from parent commands
--debug 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 Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation.
-y, --yes Alias of --tty=false
SEE ALSO
- limactl template - Lima template management (EXPERIMENTAL)