返回 slidev
cli.ts
根目录 / packages / types / src / cli.ts
1 export interface CommonArgs {
2 entry: string
3 theme?: string
4 }
5
6 export interface ExportArgs extends CommonArgs {
7 'output'?: string
8 'format'?: string
9 'timeout'?: number
10 'wait'?: number
11 'wait-until'?: string
12 'range'?: string
13 'dark'?: boolean
14 'with-clicks'?: boolean
15 'executable-path'?: string
16 'with-toc'?: boolean
17 'per-slide'?: boolean
18 'scale'?: number
19 'omit-background'?: boolean
20 }
21
22 export interface BuildArgs extends ExportArgs {
23 'out': string
24 'base'?: string
25 'download'?: boolean
26 'inspect': boolean
27 'without-notes'?: boolean
28 }
29
29 lines TYPESCRIPT