R""(
Create a flake using the default template:
List available templates:
Create a flake from a specific template:
This command creates a flake in the current directory by copying the files of a template. It will not overwrite existing files. The default template is templates#templates.default
, but this can be overridden using -t
.
A flake can declare templates through its templates
output attribute. A template has the following attributes:
description
: A one-line description of the template, in CommonMark syntax.path
: The path of the directory to be copied.welcomeText
: A block of markdown text to display when a user initializes a new flake based on this template.Here is an example:
)""