UNPKG

@jsnix/pastel

Version:

Framework for effortlessly building Ink apps

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