fix: correct all the references to @create-index
This commit is contained in:
@@ -8,10 +8,10 @@ import {
|
||||
const argv = yargs
|
||||
.demand(1)
|
||||
.options({
|
||||
'update': {
|
||||
update: {
|
||||
alias: 'u',
|
||||
default: false,
|
||||
description: 'Recursively iterates target directories looking for "index.js" files that start with "\'create index\';\\n" (create-index index file). Updates found index files. Does not create new index files.',
|
||||
description: 'Recursively iterates target directories looking for "index.js" files that start with "// @create-index\\n" (create-index index file). Updates found index files. Does not create new index files.',
|
||||
type: 'boolean'
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
'create index';
|
||||
// @create-index
|
||||
|
||||
export createIndexCode from './createIndexCode.js';
|
||||
export findIndexFiles from './findIndexFiles.js';
|
||||
@@ -8,4 +8,3 @@ export sortByDepth from './sortByDepth.js';
|
||||
export validateTargetDirectory from './validateTargetDirectory.js';
|
||||
export writeIndex from './writeIndex.js';
|
||||
export writeIndexCli from './writeIndexCli.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user