sinotron
Version:
Simple framework for Typescript Electron projects
13 lines (12 loc) • 395 B
TypeScript
import { Command } from 'commander';
import { Ctx } from './cli.interface.js';
export declare const CliHelper: {
/**
* Creates a primary cli program which can have sub-commands under it.
* @param name
* @param description
* @param version
*/
program: (name: string, description: string, version?: string) => Command;
getContext<T>(fnArgs: any[]): Ctx<T>;
};