UNPKG

@vendure/cli

Version:

A modern, headless ecommerce framework

28 lines 1.37 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 picocolors_1 = __importDefault(require("picocolors")); const command_declarations_1 = require("./commands/command-declarations"); const command_registry_1 = require("./shared/command-registry"); const program = new commander_1.Command(); const version = require('../package.json').version; program .version(version) .usage(`vendure <command>`) .description(picocolors_1.default.blue(` 888 888 888 888 888 .d88b. 88888b. .d88888 888 888 888d888 .d88b. 888 888 d8P Y8b 888 "88b d88" 888 888 888 888P" d8P Y8b Y88 88P 88888888 888 888 888 888 888 888 888 88888888 Y8bd8P Y8b. 888 888 Y88b 888 Y88b 888 888 Y8b. Y88P "Y8888 888 888 "Y88888 "Y88888 888 "Y8888 `)); (0, command_registry_1.registerCommands)(program, command_declarations_1.cliCommands); void program.parseAsync(process.argv); //# sourceMappingURL=cli.js.map