fix: available templates in help message

This commit is contained in:
Elliot DeNolf
2022-03-02 09:23:27 -05:00
parent 234fb33864
commit de3ee812cd

View File

@@ -22,7 +22,7 @@ export async function helpMessage(): Promise<string> {
--name {underline my-payload-app} Set project name
--template {underline template_name} Choose specific template
{dim Available templates: ${validTemplates.join(', ')}}
{dim Available templates: ${validTemplates.map(t => t.name).join(', ')}}
--use-npm Use npm to install dependencies
--no-deps Do not install any dependencies