Usage

cutty

An experimental Cookiecutter clone.

cutty [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

cookiecutter

Generate projects from Cookiecutter templates.

cutty cookiecutter [OPTIONS] TEMPLATE [EXTRA_CONTEXT]...

Options

--no-input

Do not prompt for template variables.

-c, --checkout <REV>

Branch, tag, or commit hash of the template repository.

-o, --output-dir <DIR>

Parent directory of the generated project.

--directory <DIR>

Directory within the template repository that contains the cookiecutter.json file.

-f, --overwrite-if-exists

Overwrite the contents of the output directory if it already exists.

-s, --skip-if-file-exists

Skip the files in the corresponding directories if they already exist.

Arguments

TEMPLATE

Required argument

EXTRA_CONTEXT

Optional argument(s)

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)

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)