cookiecutter
1.7.3
  • 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
    • Organizing cookiecutters in directories (1.7+)
  • 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
    • Jsonify extension
    • Random string extension
    • Slugify extension
  • Organizing cookiecutters in directories (1.7+)
Next Previous

© Copyright 2013-2019, Audrey Roy and Cookiecutter community Revision 985b9824.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 1.7.3
Versions
latest
stable
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.