Update binary option to use the cli if installed globally
All checks were successful
Test / build (push) Successful in 8s

This commit is contained in:
Ethan Lane 2024-11-25 16:23:58 +00:00
parent 4b9c8a8ea5
commit 2fd453247c
2 changed files with 4 additions and 1 deletions

View file

@ -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",

View file

@ -1,3 +1,4 @@
#!/usr/bin/env node
import { Command, Option } from "commander";
import randomBunny from "./index";
import ICliOptions from "./contracts/ICliOptions";