UNPKG

@elsikora/git-branch-lint

Version:
14 lines (13 loc) 439 B
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>; }