UNPKG

lambdaorm-cli

Version:
39 lines 1.69 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 infrastructure_1 = require("./infrastructure"); const yargs_1 = __importDefault(require("yargs")); const helpers_1 = require("yargs/helpers"); const fetch_1 = require("./infrastructure/command/fetch"); // eslint-disable-next-line no-unused-expressions (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv)) .usage('Usage: $0 <command> [options]') .command(new infrastructure_1.InitCommand()) .command(new infrastructure_1.VersionCommand()) .command(new infrastructure_1.DropCommand()) .command(new infrastructure_1.PushCommand()) .command(new infrastructure_1.ImportCommand()) .command(new infrastructure_1.ExportCommand()) .command(new infrastructure_1.ExecuteCommand()) .command(new infrastructure_1.PlanCommand()) .command(new infrastructure_1.MetadataCommand()) .command(new infrastructure_1.ParametersCommand()) .command(new infrastructure_1.ModelCommand()) .command(new infrastructure_1.ConstraintsCommand()) .command(new infrastructure_1.BuildCommand()) .command(new infrastructure_1.SchemaCommand()) .command(new infrastructure_1.IncorporateCommand()) .command(new infrastructure_1.IntrospectCommand()) .command(new fetch_1.FetchCommand()) .command(new infrastructure_1.PullCommand()) .recommendCommands() .demandCommand(1) .strict() .alias('v', 'version') .help('h') .alias('h', 'help') .parse(); //# sourceMappingURL=index.js.map