UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

10 lines (9 loc) 392 B
import type { CommandRunner, HelpDisplay } from '../definitions.js'; import type { AnyCommand } from '../domain/command.js'; export declare class CliCommandRunner implements CommandRunner { #private; constructor({ helpDisplay, }: { helpDisplay: HelpDisplay; }); run<T extends AnyCommand>(command: T, ...args: Parameters<T['run']>): ReturnType<T['run']> | undefined; }