UNPKG

@elsikora/git-branch-lint

Version:
28 lines (27 loc) 764 B
import type { TBranchList } from "../../../domain/type/branch.type"; interface IBranchChoiceFormatted { name: string; short: string; value: string; } /** * Formatter for branch choices in CLI prompts */ export declare class BranchChoiceFormatter { private readonly EMPTY_SPACING_OFFSET; /** * Format branch list for CLI selection * @param branchList The list of branches to format * @returns Formatted choices for inquirer prompt */ format(branchList: TBranchList): Array<IBranchChoiceFormatted>; /** * Format detailed branch list (object with descriptions) */ private formatDetailedList; /** * Format simple branch list (array of strings) */ private formatSimpleList; } export {};