team
Commmon team info logic.
TeamRepoInfo
Bases: BaseModel
Holds information about a team's IaC repository.
Source code in dapla_team_cli/team.py
29 30 31 32 33 34 |
|
ask_for_team_name()
Ask for team name.
Source code in dapla_team_cli/team.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
get_remote_from_name(team_name)
Finds the team's name, remote IaC repo url and the local folder it should be cloned to.
Source code in dapla_team_cli/team.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|
get_team_name()
Get team name.
Gets it from IaC repo info if CWD is one, asks the user for a name otherwise.
Source code in dapla_team_cli/team.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|
is_iac_repo(path)
Check if the given path is an IaC repo.
Source code in dapla_team_cli/team.py
94 95 96 |
|