Update binary option to use the cli if installed globally (#253)
All checks were successful
Stage / build (push) Successful in 14s
Stage / rsync (push) Successful in 6s

- Update package.json to use the cli if installed globally

#183

Reviewed-on: #253
Reviewed-by: Copilot <copilot@vylpes.com>
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
This commit is contained in:
Ethan Lane 2024-12-02 17:56:06 +00:00 committed by Vylpes
parent 4b9c8a8ea5
commit 67ba549126
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";