refactor(git): add output option to git functions
This commit is contained in:
parent
62b316b5ef
commit
d46a9f0883
2 changed files with 21 additions and 0 deletions
|
@ -42,6 +42,7 @@ func backup(ctx context.Context, c *config.Config) error {
|
|||
c.GitRepo,
|
||||
git.WithBasicAuth(c.GitUser, c.GitPass),
|
||||
git.WithBranch(c.GitBranch),
|
||||
git.WithOutputWriter(c.Output),
|
||||
)
|
||||
|
||||
if err := project.Clone(ctx); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue