CLI Documentation#
This documentation is automatically generated from the code using sphinx-click.
cookiecutter-autodoc#
cookiecutter-autodoc [OPTIONS] COMMAND [ARGS]...
Options
- --install-completion#
Install completion for the current shell.
- --show-completion#
Show completion for the current shell, to copy it or customize the installation.
generate#
Generate a cookiecutter.desc, cookiecutter.json or markdown.
cookiecutter-autodoc generate [OPTIONS] COMMAND [ARGS]...
cookiecutter#
Generate a new or update an existing cookiecutter.json file from a cookiecutter.desc.
cookiecutter-autodoc generate cookiecutter [OPTIONS] COOKIECUTTER_DESC
Options
- -o, --output <cookiecutter_json>#
Path to the cookiecutter.json file. If the file exists, it will be updated in place. If not specified, the cookiecutter.json will be written to the same directory as the cookiecutter.json file
Arguments
- COOKIECUTTER_DESC#
Required argument
desc#
Generate a new or update an existing cookiecutter.desc from a cookiecutter.json file.
cookiecutter-autodoc generate desc [OPTIONS] COOKIECUTTER_JSON
Options
- -o, --output <cookiecutter_desc>#
Path to a cookiecutter.desc file to write. If the file exists, it will be updated in place. If not specified, the cookiecutter.desc will be written to the same directory as the cookiecutter.json file
Arguments
- COOKIECUTTER_JSON#
Required argument
markdown#
Generate a Markdown table describing the cookiecutter’s parameters from a cookiecutter.desc.
cookiecutter-autodoc generate markdown [OPTIONS] COOKIECUTTER_DESC
Options
- -o, --outfile <markdown_file>#
File to write the markdown table to. If blank, will output to stdout
- -t, --template <markdown_template>#
Template to use for writing the markdown table. If blank, will use the default template.
Arguments
- COOKIECUTTER_DESC#
Required argument
validate#
cookiecutter-autodoc validate [OPTIONS] COOKIECUTTER_DESC [COOKIECUTTER_JSON]
Options
- --allow-empty-description, --no-allow-empty-description#
Allow empty descriptions. If not set, an empty description will cause an error.
- Default:
False
Arguments
- COOKIECUTTER_DESC#
Required argument
- COOKIECUTTER_JSON#
Optional argument