UNPKG

cloakx

Version:

Cloakx is a secure, lightweight CLI tool to manage your development secrets locally — no cloud, no hassle. Store, retrieve, and manage secrets across projects with encryption and ease. 🔐 Perfect for solo devs, indie hackers, and teams who value speed, si

34 lines (33 loc) 1.33 kB
#!/usr/bin/env node "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const commander_1 = require("commander"); const encrypt_1 = require("./commands/encrypt"); const decrypt_1 = require("./commands/decrypt"); const get_1 = require("./commands/get"); const set_1 = require("./commands/set"); const login_1 = require("./commands/login"); const status_1 = require("./commands/status"); const list_1 = require("./commands/list"); const delete_1 = require("./commands/delete"); const update_1 = __importDefault(require("./commands/update")); const program = new commander_1.Command(); program .name('cloak') .description('Secure CLI for managing encrypted secrets') .version('1.0.0'); program .addCommand((0, encrypt_1.encryptCommand)()) .addCommand((0, decrypt_1.decryptCommand)()) .addCommand((0, get_1.getCommand)()) .addCommand((0, set_1.setCommand)()) .addCommand((0, login_1.loginCommand)()) // .addCommand(logoutCommand()) .addCommand((0, list_1.listCommand)()) .addCommand((0, status_1.statusCommand)()) .addCommand((0, delete_1.deleteCommand)()) .addCommand(update_1.default); program.parse(process.argv);