Module scaffold template generation not working as expected

Going through hello-nf-core training, in Part 4 : make an nf-core module, section 2.1.1, following the instructions, this happens:

training/hello-nf-core → nf-core modules create --empty-template COWPY

                                      ,--./,-.
      ___     __   __   __   ___     /,-._.--~\ 
|\ | |__  __ /  ` /  \ |__) |__         }  {
| \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                      `._,._,'

nf-core/tools version 3.5.2 - https://nf-co.re
There is a new version of nf-core/tools available! (4.0.2)

WARNING  ‘repository_type’ not defined in .nf-core.yml
? Is this repository a pipeline or a modules repository? Pipeline
INFO     To avoid this prompt in the future, add the ‘repository_type’ key to your .nf-core.yml file.
? Would you like me to add this config now? [y/n] (y): y
INFO     Config added to ‘.nf-core.yml’
INFO     Repository type: pipeline
INFO     Press enter to use default values (shown in brackets) or type your own responses. ctrl+click underlined text to open links.
WARNING  Tool/subtool name must be lower-case letters only, with no punctuation
Change ‘COWPY’ to ‘cowpy’? [y/n]: y
WARNING  Could not find Conda dependency using the Anaconda API: ‘cowpy’

Not sure what to do here?

I have figured it out by reading further, realising it’s normal that the conda dependency can’t be found (it is mentioned further down, in section 2.2.2; but it’s confusing until then). Section 2.1.1 could be made a bit clearer by adding something to mention the lowercase convention (or tell users to write nf-core modules create --empty-template cowpy directly), then specifying already that the conda dependency will be missing and to answer no to the prompt.

Thanks for reporting this point of confusion! We’ll try to clarify that in the docs.