bookr-cli
Version:
A terminal-based CLI tool to book time in Jira using the Tempo plugin by parsing your current Git branch name
13 lines • 359 B
TypeScript
/**
* Get the current Git branch name
*/
export declare function getCurrentBranch(): string;
/**
* Check if we're in a Git repository
*/
export declare function isGitRepository(): boolean;
/**
* Extract JIRA issue key from a branch name
*/
export declare function getTicketFromBranch(branchName: string): string | null;
//# sourceMappingURL=git.d.ts.map