UNPKG

@jsnix/pastel

Version:

Framework for effortlessly building Ink apps

10 lines (9 loc) 466 B
import { Command as CommanderCommand } from 'commander'; import { type ComponentType } from 'react'; import type { Command } from './internal-types.js'; import { PastelInterface, type AppProps } from './types.js'; declare const generateCommands: (parentCommanderCommand: CommanderCommand, pastelCommands: Map<string, Command>, { appComponent, app }: { appComponent: ComponentType<AppProps>; app: PastelInterface; }) => void; export default generateCommands;