arky-js
Version:
**Arky.js** is a powerful, annotation-based framework for building serverless applications on **AWS Lambda and API Gateway**. Inspired by Angular and NestJS, Arky.js simplifies serverless development by providing decorators for defining modules, controlle
21 lines (20 loc) • 702 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const compiler_1 = require("../core/compiler");
const program = new commander_1.Command();
// ✅ Build command
program
.command("build")
.description("Scans modules, bundles Lambda functions, and prepares them for deployment.")
.action(() => (0, compiler_1.build)());
program
.command("deploy")
.description("Execute the cloud deployment.")
.action(() => (0, compiler_1.deploy)());
program
.command("destroy")
.description("Remove the cloud deployment.")
.action(() => (0, compiler_1.destroy)());
program.parse(process.argv);