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() {
84
84
// --playwright
85
85
// --eslint
86
86
// --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)
89
90
90
91
const args = process . argv . slice ( 2 )
91
92
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ flagCombinations = flagCombinations
88
88
denylist . every ( ( flag ) => combination . includes ( flag ) ) ,
89
89
) ,
90
90
)
91
+ // `--bare` is a supplementary flag and should not be used alone
91
92
. filter ( ( combination ) => ! ( combination . length === 1 && combination [ 0 ] === 'bare' ) )
92
93
93
94
const bin = path . posix . relative ( '../playground/' , '../outfile.cjs' )
You can’t perform that action at this time.
0 commit comments