{
  "id": "cookiecutter",
  "name": "Cookiecutter",
  "homepage": "https://cookiecutter.readthedocs.io/",
  "description": "A command-line utility that creates projects from project templates.",
  "executables": [
    "cookiecutter"
  ],
  "dotfiles": {
    "paths": [
      "~/.cookiecutterrc"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Generate a project from a template",
    "description": "Render a Cookiecutter template (local path, git URL or shorthand) into a new project. Replay, config-file, hook and debug-file options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "cli",
        "kind": "help",
        "url": "https://github.com/cookiecutter/cookiecutter/blob/main/cookiecutter/cli.py",
        "revision": "main 2026-10",
        "evidence": "'--no-input',\nhelp='Do not prompt for parameters and only use cookiecutter.json file content. '\n'-c',\n'--checkout',\nhelp='branch, tag or commit to checkout after git clone',\n'--directory',\nhelp='Directory within repo that holds cookiecutter.json file '\n'-v', '--verbose', is_flag=True, help='Print debug information', default=False\n'-f',\n'--overwrite-if-exists',\nhelp='Overwrite the contents of the output directory if it already exists',\n'-s',\n'--skip-if-file-exists',\nhelp='Skip the files in the corresponding directories if they already exist',\n'-o',\n'--output-dir',\nhelp='Where to output the generated project dir into',\n'-l', '--list-installed', is_flag=True, help='List currently installed templates.'\n"
      }
    ],
    "field": [
      {
        "id": "template",
        "label": "Template",
        "description": "Local directory, git/hg URL, or a shorthand such as gh:owner/repo.",
        "type": "string",
        "position": 0,
        "sources": [
          "cli"
        ]
      },
      {
        "id": "no_input",
        "label": "Use defaults, do not prompt",
        "type": "boolean",
        "option": [
          "--no-input"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "checkout",
        "label": "Branch, tag or commit",
        "type": "string",
        "option": [
          "--checkout",
          "-c"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "directory",
        "label": "Template subdirectory",
        "description": "Directory inside the repository that holds cookiecutter.json.",
        "type": "string",
        "option": [
          "--directory"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "output_dir",
        "label": "Output directory",
        "type": "path",
        "option": [
          "--output-dir",
          "-o"
        ],
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "sources": [
          "cli"
        ]
      },
      {
        "id": "overwrite",
        "label": "Overwrite existing output",
        "type": "boolean",
        "option": [
          "--overwrite-if-exists",
          "-f"
        ],
        "effect": "overwrite",
        "sources": [
          "cli"
        ]
      },
      {
        "id": "skip_existing",
        "label": "Skip files that already exist",
        "type": "boolean",
        "option": [
          "--skip-if-file-exists",
          "-s"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "--verbose",
          "-v"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "list_installed",
        "label": "List installed templates",
        "type": "boolean",
        "option": [
          "--list-installed",
          "-l"
        ],
        "sources": [
          "cli"
        ]
      }
    ],
    "task": [
      {
        "id": "generate",
        "label": "Generate project",
        "fields": [
          "template",
          "checkout",
          "output_dir",
          "no_input"
        ],
        "required": [
          "template"
        ]
      },
      {
        "id": "list",
        "label": "List installed templates",
        "set": {
          "list_installed": [
            true
          ]
        },
        "lock": [
          "list_installed"
        ],
        "fields": [
          "list_installed"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "template",
          "checkout",
          "output_dir",
          "no_input",
          "list_installed"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "directory",
          "overwrite",
          "skip_existing",
          "verbose"
        ]
      }
    ]
  }
}
