UNPKG

@syntropysoft/praetorian

Version:

Praetorian CLI – A universal multi-environment configuration validator for DevSecOps teams. Validate, compare, and secure YAML/ENV files with ease.

34 lines (33 loc) 1.75 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 core_1 = require("@oclif/core"); const chalk_1 = __importDefault(require("chalk")); // ASCII Art Banner - Professional Praetorian Style with security colors const banner = ` ${chalk_1.default.blueBright(' ____ _ _ ____ _ ___ ')} ${chalk_1.default.blueBright(' | _ \\ _ __ __ _ ___| |_ ___ _ __(_) __ _ _ __ / ___| | |_ _|')} ${chalk_1.default.blueBright(' | |_) | \'__/ _` |/ _ \\ __/ _ \\| \'__| |/ _` | \'_\\ | | | | | | ')} ${chalk_1.default.blueBright(' | __/| | | (_| | __/ || (_) | | | | (_| | | | | | |___| |___ | | ')} ${chalk_1.default.blueBright(' |_| |_| \\__,_|\\___|\\__\\___/|_| |_|\\__,_|_| |_| \\____|_____|___|')} ${chalk_1.default.gray(' ')} ${chalk_1.default.white.bold('🛡️ Guardian of Configurations & Security')} ${chalk_1.default.gray('|')} ${chalk_1.default.blue('Universal Validation Framework for DevSecOps')} `; // Show banner only for help and version commands const args = process.argv.slice(2); if (args.length === 0 || args.includes('--help') || args.includes('-h') || args.includes('--version') || args.includes('-V')) { console.log(banner); } (0, core_1.run)() .then(() => { // Command completed successfully }) .catch((error) => { // Handle errors console.error('Error:', error.message); process.exit(1); }); //# sourceMappingURL=cli.js.map