UNPKG

@builder.io/dev-tools

Version:

Builder.io Visual CMS Devtools

65 lines (64 loc) 1.99 kB
export interface CLIArgs { /** Figma access token */ figmaToken?: string; /** GitHub access token */ githubToken?: string; /** Run in CI mode without interactive prompts */ ci?: boolean; /** Show help text */ help?: boolean; /** Force operation even if there are warnings */ force?: boolean; /** Print output as JSON */ verbose?: boolean; /** Run in dry-run mode without making changes */ dryrun?: boolean; /** Auto-confirm all prompts */ yes?: boolean; /** Builder.io space ID */ spaceId?: string; /** Component name to use */ componentName?: string; /** Mapping directory to use */ mappingOutput?: string; /** Skip package installation step */ skipInstallation?: boolean; /** Token to use for figma */ token?: string; /** Url to start from */ url?: string; /** Node ID from Figma URL */ nodeId?: string; /** Prompt text for non-interactive mode */ prompt?: string; /** Generation mode */ mode?: "fast" | "quality" | "quality-v3"; /** Working directory to run commands from */ cwd?: string; /** Debug mode */ debug?: boolean; /** Port number for the dev server */ port?: number; /** Port number for the dev server (shorthand) */ p?: number; /** Dev server command to execute */ command?: string; /** Dev server command to execute (shorthand) */ c?: string; /** Skip authentication for testing purposes */ noAuth?: boolean; /** Skip authentication for testing purposes (flag form) */ auth?: boolean; /** Use development server instead of production for launch command */ dev?: boolean; /** Skip browser auto-open */ noOpen?: boolean; /** Skip browser auto-open (flag form) */ open?: boolean; /** Raw command line arguments */ _: string[]; /** Silent mode for launch command */ silent?: boolean; /** Fusion project ID */ projectId?: string; }