File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Sources/HazelCore/Support Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ struct Completion {
20
20
] ,
21
21
" init " : [
22
22
" --template " : " Choose project template " ,
23
- " -t " : " Choose project template " ,
23
+ " -t " : " Set the project name (leave empty to use the current directory name) " ,
24
+ " --name " : " Set the project name (leave empty to use the current directory name) " ,
25
+ " -n " : " Choose project template " ,
24
26
" --help " : " Print help message and exit " ,
25
27
" -h " : " Print help message and exit " ,
26
28
" --author " : " Set author name " ,
@@ -89,6 +91,8 @@ struct Completion {
89
91
switch argument {
90
92
case " --template " , " -t " :
91
93
return !arguments. contains ( " --template " ) && !arguments. contains ( " -t " )
94
+ case " --name " , " -n " :
95
+ return !arguments. contains ( " --name " ) && !arguments. contains ( " -n " )
92
96
case " --author " , " -a " :
93
97
return !arguments. contains ( " --author " ) && !arguments. contains ( " -a " )
94
98
case " --email " , " -e " :
You can’t perform that action at this time.
0 commit comments