From 1d00e8c7eab865fa2aa7fc8721ac03e145df434d Mon Sep 17 00:00:00 2001 From: larencozart Date: Thu, 3 Apr 2025 12:29:03 -0500 Subject: [PATCH] Add ability to publish code --- cli/cli.ts | 2 ++ package.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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",