|
|
|
@ -7,11 +7,11 @@ sequenceDiagram
|
|
|
|
|
participant app as Application
|
|
|
|
|
participant ds as DesktopService
|
|
|
|
|
participant gtr as GitTrustFactory
|
|
|
|
|
participant pa as CliArgumentsParser
|
|
|
|
|
participant cr as DesktopConfigRepository
|
|
|
|
|
participant pa as CliArgumentsParser
|
|
|
|
|
participant cr as DesktopConfigRepository
|
|
|
|
|
participant ut as CliUtils
|
|
|
|
|
participant su as ProvsWithSudo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user ->> app: main
|
|
|
|
|
activate app
|
|
|
|
|
app ->> pa: parseCommands
|
|
|
|
@ -20,7 +20,7 @@ sequenceDiagram
|
|
|
|
|
app ->> su: ensureSudoWithoutPassword(cmd.target.remoteTarget()?.password)
|
|
|
|
|
app ->> ds: provisionDesktopCommand(cmd, config)
|
|
|
|
|
activate ds
|
|
|
|
|
ds ->> gtr : get("github", "gitlab")
|
|
|
|
|
ds ->> gtr: get("github", "gitlab")
|
|
|
|
|
gtr -->> ds: GitTrust
|
|
|
|
|
deactivate ds
|
|
|
|
|
deactivate app
|
|
|
|
|