@git.zone/cli
Version:
A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.
77 lines (76 loc) • 2.03 kB
TypeScript
/**
* UI helper module for beautiful CLI output
*/
interface ICommitSummary {
projectType: string;
branch: string;
commitType: string;
commitScope: string;
commitMessage: string;
newVersion: string;
commitSha?: string;
pushed: boolean;
repoUrl?: string;
released?: boolean;
releasedRegistries?: string[];
}
interface IExecutionPlanOptions {
autoAccept: boolean;
push: boolean;
test: boolean;
build: boolean;
release: boolean;
format: boolean;
registries?: string[];
}
interface IRecommendation {
recommendedNextVersion: string;
recommendedNextVersionLevel: string;
recommendedNextVersionScope: string;
recommendedNextVersionMessage: string;
}
/**
* Print a header with a box around it
*/
export declare function printHeader(title: string): void;
/**
* Print execution plan at the start of commit
*/
export declare function printExecutionPlan(options: IExecutionPlanOptions): void;
/**
* Print a section with a border
*/
export declare function printSection(title: string, lines: string[]): void;
/**
* Print AI recommendations in a nice box
*/
export declare function printRecommendation(recommendation: IRecommendation): void;
/**
* Print a progress step
*/
export declare function printStep(current: number, total: number, description: string, status: 'in-progress' | 'done' | 'error'): void;
/**
* Print final commit summary
*/
export declare function printSummary(summary: ICommitSummary): void;
/**
* Print an info message with consistent formatting
*/
export declare function printInfo(message: string): void;
/**
* Print a success message
*/
export declare function printSuccess(message: string): void;
/**
* Print a warning message
*/
export declare function printWarning(message: string): void;
/**
* Print an error message
*/
export declare function printError(message: string): void;
/**
* Print commit message being created
*/
export declare function printCommitMessage(commitString: string): void;
export {};