1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | import { CommandLineMeasurements } from './types';
|
12 | import commandLineUsage = require('command-line-usage');
|
13 | export declare const defaultInstallDir: string;
|
14 | export declare const optDefs: commandLineUsage.OptionDefinition[];
|
15 | export interface Opts {
|
16 | help: boolean;
|
17 | version: boolean;
|
18 | root: string | undefined;
|
19 | host: string;
|
20 | port: number[];
|
21 | config: string;
|
22 | 'package-version': string[];
|
23 | 'npm-install-dir': string;
|
24 | browser: string | undefined;
|
25 | 'sample-size': number | undefined;
|
26 | manual: boolean;
|
27 | save: string;
|
28 | measure: CommandLineMeasurements | undefined;
|
29 | 'measurement-expression': string | undefined;
|
30 | horizon: string | undefined;
|
31 | timeout: number | undefined;
|
32 | 'github-check': string;
|
33 | 'resolve-bare-modules': boolean | undefined;
|
34 | 'remote-accessible-host': string;
|
35 | 'window-size': string;
|
36 | 'force-clean-npm-install': boolean;
|
37 | 'csv-file': string;
|
38 | 'csv-file-raw': string;
|
39 | 'json-file': string;
|
40 | _unknown?: string[];
|
41 | }
|
42 |
|
43 |
|
44 |
|
45 | export declare function parseFlags(argv: string[]): Opts;
|