Skip to content

Commit 61090f5

Browse files
committed
Added language option to support typescript.
1 parent 12a1b1c commit 61090f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/rekit.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ createCmd.addArgument(['--sass'], {
6060
action: 'storeTrue',
6161
});
6262

63+
createCmd.addArgument(['--lang', '--language', '-l'], {
64+
dest: 'language',
65+
help: 'The language used for the project.',
66+
choices: ['ts', 'js', 'typescript', 'javascript'],
67+
});
68+
6369
// Install plugin command
6470
const installPluginCmd = subparsers.addParser('install', {
6571
addHelp: true,

0 commit comments

Comments
 (0)