UNPKG

@builder.io/dev-tools

Version:

Builder.io Visual CMS Devtools

73 lines (72 loc) 2.46 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; /** Skip detailed grouping in repo indexing */ skipDetailedGrouping?: boolean; /** Skip display of header in repo indexing */ skipHeader?: boolean; /** Design system package to use for repo indexing */ designSystemPackage?: string; /** Whether to store repository indexing files */ storeRepoIndexing?: 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?: "quality" | "quality-v3"; /** Working directory to run commands from */ cwd?: string; /** Debug mode */ debug?: boolean; /** Raw command line arguments */ _: string[]; /** Builder private key, used for authentication. */ builderPrivateKey?: string; /** Builder public key, used for authentication. */ builderPublicKey?: string; /** Builder user ID, used for authentication. */ builderUserId?: string; /** Path to workspace configuration file */ workspace?: string; /** Output structured JSON data instead of human-readable logs */ jsonOutput?: boolean; /** Local mode */ local?: boolean; /** Inlined to builder.config.json file */ configJson?: string; /** Server URL */ serverUrl?: string; /** Remove all mappings from the space, publishing zero mappings even if mapper files exist */ clearMappings?: boolean; /** Enabled tools, list of strings separated by commas */ enabledTools?: string; /** If true run brief indexing before running code generation */ index?: boolean; }