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AS,CAAC,OAAO,CAAC;KAClB,WAAW,CAAC,KAAK,CAAC,CAAC","file":"cli.js","sourcesContent":["#!/usr/bin/env node\nimport \"reflect-metadata\";\nimport * as yargs from \"yargs\";\nimport {SchemaSyncCommand} from \"./commands/SchemaSyncCommand\";\nimport {SchemaDropCommand} from \"./commands/SchemaDropCommand\";\nimport {QueryCommand} from \"./commands/QueryCommand\";\nimport {EntityCreateCommand} from \"./commands/EntityCreateCommand\";\nimport {MigrationCreateCommand} from \"./commands/MigrationCreateCommand\";\nimport {MigrationRunCommand} from \"./commands/MigrationRunCommand\";\nimport {MigrationRevertCommand} from \"./commands/MigrationRevertCommand\";\nimport {SubscriberCreateCommand} from \"./commands/SubscriberCreateCommand\";\nimport {SchemaLogCommand} from \"./commands/SchemaLogCommand\";\nimport {MigrationGenerateCommand} from \"./commands/MigrationGenerateCommand\";\nimport {VersionCommand} from \"./commands/VersionCommand\";\nimport {InitCommand} from \"./commands/InitCommand\";\nimport {CacheClearCommand} from \"./commands/CacheClearCommand\";\n\nyargs\n .usage(\"Usage: $0 <command> [options]\")\n .command(new SchemaSyncCommand())\n .command(new SchemaLogCommand())\n .command(new SchemaDropCommand())\n .command(new QueryCommand())\n .command(new EntityCreateCommand())\n .command(new SubscriberCreateCommand())\n .command(new MigrationCreateCommand())\n .command(new MigrationGenerateCommand())\n .command(new MigrationRunCommand())\n .command(new MigrationRevertCommand())\n .command(new VersionCommand())\n .command(new CacheClearCommand())\n .command(new InitCommand())\n .recommendCommands()\n .demandCommand(1)\n .strict()\n .alias(\"v\", \"version\")\n .help(\"h\")\n .alias(\"h\", \"help\")\n .argv;\n\nrequire(\"yargonaut\")\n .style(\"blue\")\n .style(\"yellow\", \"required\")\n .helpStyle(\"green\")\n .errorsStyle(\"red\");\n"],"sourceRoot":"."}
\No newline at end of file