UNPKG

@ywfe/cli

Version:

遥望前端开发命令行工具

42 lines (41 loc) 1.78 kB
export interface Input { name: string; value: boolean | string | never[]; options?: any; } export declare const getFilePathWithPath: (publishInfo: any[]) => Promise<any[]>; export declare const handleFilePath: (path: string) => string; export declare const getGitInfo: () => Promise<{ branch: string; remote: string; }>; export declare const checkBranchDiffHasPushed: (isCloudBuild: boolean) => Promise<string>; export declare const isMatchProjectInfo: (relativeBranch: string, isCloudBuild: boolean) => Promise<string>; export declare const transformUrl: (url: string) => string; export declare const getEnv: (PageEnv?: string, hiddenConfirm?: boolean) => Promise<string>; export declare const chooseDailyEnv: (PageEnv?: string) => Promise<string>; export declare const chooseEnv: (PageEnv?: string, hiddenConfirm?: boolean) => Promise<string>; export declare const getFiles: (filePath: string, pageName: string) => string[]; export declare const firstLetterToUpperCase: (letter?: string, otherToLocalLower?: boolean) => string; export declare const generateLibName: (pageName: string) => string; export declare const checkEnvFileExists: () => Promise<boolean>; export declare const checkViteBuildConfig: (fileName?: string) => Promise<true>; export declare const getViteBuildConfig: (fileName?: string) => Promise<any>; export declare const getBuildPageInfoWithChangeId: (fileName?: string, config?: { dpsEnv: string; inputChangeId?: string; }) => Promise<{ detail: { change_id: number; iteration_id: number; branch_name: string; app_name: string; }; pages: { page_id: number; page_name_ch: any; path: string; file_path: string; develop_type: number; }[]; }>;