File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ async function init() {
8484 // --playwright
8585 // --eslint
8686 // --eslint-with-prettier (only support prettier through eslint for simplicity)
87- // --force (for force overwriting)
88- // --bare (for a barebone template)
87+ // in addition to the feature flags, you can also pass the following options:
88+ // --bare (for a barebone template without example code)
89+ // --force (for force overwriting without confirming)
8990
9091 const args = process . argv . slice ( 2 )
9192
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ flagCombinations = flagCombinations
8888 denylist . every ( ( flag ) => combination . includes ( flag ) ) ,
8989 ) ,
9090 )
91+ // `--bare` is a supplementary flag and should not be used alone
9192 . filter ( ( combination ) => ! ( combination . length === 1 && combination [ 0 ] === 'bare' ) )
9293
9394const bin = path . posix . relative ( '../playground/' , '../outfile.cjs' )
You can’t perform that action at this time.
0 commit comments