initial commit

This commit is contained in:
2025-01-12 19:54:41 -06:00
commit f637529a8d
52 changed files with 2190 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
from utils.messages import (
title,
instructions,
worktree_instructions,
)
from utils.repo_format import branch_types
def branch_details():
# Ask for branch type
for idx, type in enumerate(branch_types):
print(f"[{idx + 1}] {type}")
title("Branch Types")
instructions(worktree_instructions)
branch_type: str = input('Branch Type: ')
branch_type_idx: int = int(branch_type) - 1
branch_type_value: str = list(branch_types.values())[branch_type_idx]
# Ask for branch id
branch_id: str = input('Branch ID: ').upper()
return branch_type_value, branch_id