@elsikora/git-branch-lint
Version:
Lint your git branch names
14 lines (13 loc) • 439 B
TypeScript
import type { IBranchRepository } from "../../domain/interface/branch.repository.interface";
/**
* Use case for pushing a branch to remote repository
*/
export declare class PushBranchUseCase {
private readonly branchRepository;
constructor(branchRepository: IBranchRepository);
/**
* Execute the use case
* @param branchName The name of the branch to push
*/
execute(branchName: string): Promise<void>;
}