Update binary option to use the cli if installed globally #253

Merged
Vylpes merged 1 commit from feature/183-global-install-cli into develop 2024-12-02 17:56:07 +00:00
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";