Update binary option to use the cli if installed globally
All checks were successful
Test / build (push) Successful in 8s
All checks were successful
Test / build (push) Successful in 8s
This commit is contained in:
parent
4b9c8a8ea5
commit
2fd453247c
2 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,9 @@
|
|||
"author": "Vylpes",
|
||||
"exports": "./dist/index.js",
|
||||
"typings": "./dist/index.d.ts",
|
||||
"bin": "./dist/cli.js",
|
||||
"bin": {
|
||||
"random-bunny": "./dist/cli.js"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"keywords": [
|
||||
"rabbit",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env node
|
||||
import { Command, Option } from "commander";
|
||||
import randomBunny from "./index";
|
||||
import ICliOptions from "./contracts/ICliOptions";
|
||||
|
|
Loading…
Reference in a new issue