forked from cookiecutter/cookiecutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve user docs for writing hooks (cookiecutter#1057)
This PR adds documentation based on my experience writing a hook for the first time. This adds a new section to hooks.rst called "Writing hooks" that includes topics related to writing pre/post-generate hooks: - exit status (restructured from a note) - current working directory of a script when its run - highlight that Cookiecutter evaluates jinja syntax in the scripts
- Loading branch information
1 parent
83c3d6b
commit 75d67a5
Showing
1 changed file
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters