Using and Mastering Cookiecutter Transcripts
Chapter: Advanced Cookiecutter usage
Lecture: Verbose

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Alright, let's quickly play with verbose mode.
0:05 We've seen that we're able to run Cookiecutter with no inputs,
0:08 let's try it in verbose mode, it's going to ask some questions,
0:11 tell me all sorts of stuff like here is some default values we're using,
0:15 we generated this context and this is what we're going to use
0:18 to start asking these questions,
0:21 okay, so I'll just go and give it some values,
0:24 let's let it suppose that that's my username, and this is fine,
0:28 we'll take this as well, and then it does a whole bunch of work,
0:33 let's make this bigger, so it's great, we're searching okay it appears to be
0:38 that this file is what we're going to use for the project,
0:41 we're going to generate the project from that, we're rendering the directory
0:45 and then we're making sure that it doesn't exist,
0:48 first we create the directory then we make sure it does exists, right,
0:51 okay there it goes, and it found no hooks, if there were hooks,
0:54 it would say we're running the pre-generation script, the post-generation script,
0:57 that's what hooks are about, so it's processing all these files that are here,
1:00 it's transformed requirements to see if anything is there,
1:04 change the README and it checks to see what's binary
1:06 then it wrote the contents of that, which is cool,
1:09 remember it uses like the summary or whatever of the project that goes there,
1:13 you could just go through and see all the steps that it's going,
1:16 as it's processing these files and finally there is no post-hooks either,
1:20 so it didn't run that and we're done.
1:22 Alright, so this verbose mode is really helpful if you need it,
1:25 especially when you're creating your own templates.