presta
Version:
Hyper minimal framework for the modern web.
20 lines (19 loc) • 707 B
TypeScript
import { Options } from './config';
export declare type PrestaCLIOptions = {
config?: string;
output?: string;
debug?: boolean;
} & Partial<Options>;
export declare type PrestaCLIBuildOptions = PrestaCLIOptions & {
_: string[];
};
export declare type PrestaCLIServeOptions = PrestaCLIBuildOptions & {
port?: string;
'no-serve': boolean;
};
export declare type PrestaCLIDevOptions = PrestaCLIServeOptions;
export declare function buildCommand(options: PrestaCLIBuildOptions): Promise<void>;
export declare function devCommand(options: PrestaCLIDevOptions): Promise<{
close(): Promise<void>;
}>;
export declare function serveCommand(options: PrestaCLIServeOptions): Promise<void>;