| 32 | } |
| 33 | |
| 34 | export interface IRcFileConfig { |
| 35 | engine?: 'psychic' | 'async' | 'espidf' | 'webserver'; |
| 36 | sourcepath?: string; |
| 37 | outputfile?: string; |
| 38 | espmethod?: string; |
| 39 | define?: string; |
| 40 | gzip?: 'always' | 'never' | 'compiler'; |
| 41 | etag?: 'always' | 'never' | 'compiler'; |
| 42 | cachetime?: number; |
| 43 | cachetimehtml?: number; |
| 44 | cachetimeassets?: number; |
| 45 | created?: boolean | 'true' | 'false'; |
| 46 | version?: string; |
| 47 | exclude?: string[]; |
| 48 | basepath?: string; |
| 49 | maxsize?: number | string; |
| 50 | maxgzipsize?: number | string; |
| 51 | noindexcheck?: boolean | 'true' | 'false'; |
| 52 | dryrun?: boolean | 'true' | 'false'; |
| 53 | analyze?: boolean | 'true' | 'false'; |
| 54 | spa?: boolean | 'true' | 'false'; |
| 55 | manifest?: boolean | 'true' | 'false'; |
| 56 | } |
| 57 | |
| 58 | function showHelp(): void { |
| 59 | console.log(` |
nothing calls this directly
no outgoing calls
no test coverage detected