Usage¶
cutty¶
An experimental Cookiecutter clone.
cutty [OPTIONS] COMMAND [ARGS]...
Options
- --version¶
Show the version and exit.
create¶
Generate projects from Cookiecutter templates.
cutty create [OPTIONS] TEMPLATE [EXTRA_CONTEXT]...
Options
- --non-interactive¶
Do not prompt for template variables.
- --revision <REV>¶
Branch, tag, or commit hash of the template repository.
- -C, --cwd <DIR>¶
Parent directory of the generated project.
- --template-directory <DIR>¶
Directory within the template repository that contains the cookiecutter.json file.
- -i, --in-place¶
Strip the leading path component from generated files.
Arguments
- TEMPLATE¶
Required argument
- EXTRA_CONTEXT¶
Optional argument(s)
import¶
Import changesets from templates into projects.
cutty import [OPTIONS] [EXTRA_CONTEXT]...
Options
- --revision <REV>¶
Branch, tag, or commit hash of the template repository.
- -C, --cwd <DIR>¶
Directory of the generated project.
- --non-interactive¶
Do not prompt for template variables.
- --template-directory <DIR>¶
Directory within the template repository that contains the cookiecutter.json file.
- --continue¶
Resume importing after conflict resolution.
- --abort¶
Abort the current update.
Arguments
- EXTRA_CONTEXT¶
Optional argument(s)
link¶
Link project to a Cookiecutter template.
cutty link [OPTIONS] [TEMPLATE] [EXTRA_CONTEXT]...
Options
- --non-interactive¶
Do not prompt for template variables.
- -C, --cwd <DIR>¶
Directory of the generated project.
- --revision <REV>¶
Branch, tag, or commit hash of the template repository.
- --template-directory <DIR>¶
Directory within the template repository that contains the cookiecutter.json file.
Arguments
- TEMPLATE¶
Optional argument
- EXTRA_CONTEXT¶
Optional argument(s)
update¶
Update a project with changes from its template.
cutty update [OPTIONS] [EXTRA_CONTEXT]...
Options
- --non-interactive¶
Do not prompt for template variables.
- -C, --cwd <DIR>¶
Directory of the generated project.
- --revision <REV>¶
Branch, tag, or commit hash of the template repository.
- --template-directory <DIR>¶
Directory within the template repository that contains the cookiecutter.json file.
- --continue¶
Resume updating after conflict resolution.
- --abort¶
Abort the current update.
Arguments
- EXTRA_CONTEXT¶
Optional argument(s)