diff --git a/cli/cli.ts b/cli/cli.ts index 49d41b6..59ac61b 100644 --- a/cli/cli.ts +++ b/cli/cli.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import { Command } from "commander"; import { deploy } from "./deploy"; import { destroy } from "./destroy"; diff --git a/package.json b/package.json index d69aea5..a2dfe52 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,9 @@ "name": "rabbitory_cli", "version": "1.0.0", "description": "Command Line Interface for Rabbitory", - "main": "index.js", + "bin": { + "rabbitory": "./dist/cli/cli.js" + }, "scripts": { "build": "npx tsc", "lint": "eslint",