Skip to content

Commit 2882ff2

Browse files
committed
feat(cli): Dashing all cli commands
1 parent ceb567c commit 2882ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/commands/command.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const {{ service.name | caseLower }}{{ method.name | caseUcfirst }} = async ({
8686
{% endfor %}
8787
{% for method in service.methods %}
8888
{{service.name | caseLower }}
89-
.command(`{{ method.name | caseCamel }}`)
89+
.command(`{{ method.name | caseCamel | cli_kebab }}`)
9090
{% autoescape false %}
9191
.description(`{{ method.description | replace({'`':'\''}) | replace({'\n':' '}) | replace({'\n \n':' '}) }}`)
9292
{% for parameter in method.parameters.all %}

0 commit comments

Comments
 (0)