@vortex.so/cli
Version:
CLI to interact with Vortex.
27 lines (23 loc) • 831 B
JavaScript
;
const citty = require('citty');
const _package = require('../../package.json.cjs');
const mainCommand = citty.defineCommand({
meta: {
name: _package.default.name,
version: _package.default.version,
description: ""
},
setup() {
},
cleanup() {
},
subCommands: {
ping: () => import('./commands/ping/index.cjs').then((r) => r.pingCommand),
info: () => import('./commands/info/index.cjs').then((r) => r.infoCommand),
init: () => import('./commands/init/index.cjs').then((r) => r.initCommand),
clean: () => import('./commands/clean/index.cjs').then((r) => r.cleanCommand),
ship: () => import('./commands/ship/index.cjs').then((r) => r.shipCommand),
vault: () => import('./commands/vault/index.cjs').then((r) => r.vaultCommand)
}
});
exports.mainCommand = mainCommand;