cookiecutter
1.7.0
  • Cookiecutter
  • Overview
  • Installation
  • Usage
  • Learn the Basics of Cookiecutter by Creating a Cookiecutter
  • Additional Tutorials
  • Getting to Know Cookiecutter
  • Create a Cookiecutter From Scratch
  • Advanced Usage
    • Using Pre/Post-Generate Hooks (0.7.0+)
    • User Config (0.7.0+)
    • Calling Cookiecutter Functions From Python
    • Injecting Extra Context
    • Suppressing Command-Line Prompts
    • Templates in Context Values
    • Copy without Render
    • Replay Project Generation
    • Command Line Options
    • Choice Variables (1.1+)
    • Dictionary Variables (1.5+)
    • Template Extensions
  • Troubleshooting
  • cookiecutter package
  • Contributing
  • Credits
  • Sprint Contributors
  • History
  • Case Studies
  • Backers
  • Code of Conduct
cookiecutter
  • Docs »
  • Advanced Usage
  • Edit on GitHub

Advanced UsageΒΆ

Various advanced topics regarding cookiecutter usage.

  • Using Pre/Post-Generate Hooks (0.7.0+)
    • Writing hooks
    • Example: Validating template variables
  • User Config (0.7.0+)
  • Calling Cookiecutter Functions From Python
  • Injecting Extra Context
    • Example: Injecting a Timestamp
  • Suppressing Command-Line Prompts
    • Basic Example: Using the Defaults
    • Advanced Example: Defaults + Extra Context
  • Templates in Context Values
    • Basic Example: Templates in Context
  • Copy without Render
  • Replay Project Generation
  • Command Line Options
  • Choice Variables (1.1+)
    • Basic Usage
    • Overwriting Default Choice Values
  • Dictionary Variables (1.5+)
    • Basic Usage
  • Template Extensions
Next Previous

© Copyright 2013-2019, Audrey Roy and Cookiecutter community Revision 1ac5a42b.

Built with Sphinx using a theme provided by Read the Docs.