UNPKG

@vortex.so/cli

Version:

CLI to interact with Vortex.

25 lines (22 loc) 770 B
import { defineCommand } from 'citty'; import pkg from '../../package.json.mjs'; const mainCommand = defineCommand({ meta: { name: pkg.name, version: pkg.version, description: "" }, setup() { }, cleanup() { }, subCommands: { ping: () => import('./commands/ping/index.mjs').then((r) => r.pingCommand), info: () => import('./commands/info/index.mjs').then((r) => r.infoCommand), init: () => import('./commands/init/index.mjs').then((r) => r.initCommand), clean: () => import('./commands/clean/index.mjs').then((r) => r.cleanCommand), ship: () => import('./commands/ship/index.mjs').then((r) => r.shipCommand), vault: () => import('./commands/vault/index.mjs').then((r) => r.vaultCommand) } }); export { mainCommand };