1 | import { Options } from './config';
|
2 | export declare type PrestaCLIOptions = {
|
3 | config?: string;
|
4 | output?: string;
|
5 | debug?: boolean;
|
6 | } & Partial<Options>;
|
7 | export declare type PrestaCLIBuildOptions = PrestaCLIOptions & {
|
8 | _: string[];
|
9 | };
|
10 | export declare type PrestaCLIServeOptions = PrestaCLIBuildOptions & {
|
11 | port?: string;
|
12 | 'no-serve': boolean;
|
13 | };
|
14 | export declare type PrestaCLIDevOptions = PrestaCLIServeOptions;
|
15 | export declare function buildCommand(options: PrestaCLIBuildOptions): Promise<void>;
|
16 | export declare function devCommand(options: PrestaCLIDevOptions): Promise<{
|
17 | close(): Promise<void>;
|
18 | }>;
|
19 | export declare function serveCommand(options: PrestaCLIServeOptions): Promise<void>;
|