UNPKG

piral-cli

Version:

The standard CLI for creating and building a Piral instance or a Pilet.

10 lines (8 loc) 288 B
import { SelectCommands } from './types'; export async function start(from: SelectCommands) { const { loadPlugins } = require('./plugin'); const { commands } = require('./commands'); const { setupCli } = require('./cli'); await loadPlugins(); await setupCli(from(commands)); }