@jsnix/pastel
Version:
Framework for effortlessly building Ink apps
10 lines (9 loc) • 449 B
TypeScript
import type { 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 generateCommand: (commanderCommand: CommanderCommand, pastelCommand: Command, { appComponent, app }: {
appComponent: ComponentType<AppProps>;
app: PastelInterface;
}) => void;
export default generateCommand;