Skip to content

Commit 68695e0

Browse files
committed
chore: Added yargs dependency and updated related packages.
1 parent 95afafb commit 68695e0

File tree

3 files changed

+1949
-1517
lines changed

3 files changed

+1949
-1517
lines changed

bin/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const __dirname = path.dirname(fileURLToPath(new URL(import.meta.url)))
1515
const args = process.argv.slice(2)
1616

1717
yargs(hideBin(process.argv))
18+
.version(JSON.parse(fs.readFileSync(path.resolve(__dirname, '../package.json'), 'utf8')).version)
1819
.command('[pluginName]', 'create a plugin', (yargs) => {
1920
yargs.positional('pluginName', {
2021
type: 'string',

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@
3131
],
3232
"engines": {
3333
"node": ">=16"
34-
}
34+
},
35+
"packageManager": "[email protected]+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab"
3536
}

0 commit comments

Comments
 (0)