Description of the bug
The inclusion of a dash in a custom pipeline name causes all kinds of syntax errors in the generated files because Groovy/Nextflow can't parse words with dashes as variable names.
So we need to either disallow dashes or parse the name and replace them by underscores during template generation/sync
Command used and terminal output
nf-core create --name 'something-with-a-dash'
System information
No response