$ account cookiecutter
Cookiecutter is a command-line utility for creating projects from templates (cookiecutters). It uses Jinja2 to templatize file and directory names, prompts users for input, and generates a customized project structure. The tool supports local and remote templates (via Git/Hg), includes a hook system for customizing the generation process, and provides a Python API for programmatic use. Architecture-wise, it is a modular Python package with distinct components for CLI, configuration, environment setup, template discovery, generation, hooks, prompting, replay, VCS operations, and utilities. Key entry points are the `cookiecutter` CLI command and the `cookiecutter.main.cookiecutter()` function. The system follows a data flow where template location is resolved, context is gathered (from defaults, user config, and prompts), templates are rendered with Jinja2, and output is written to a directory, optionally executing user-defined hooks at various stages.