ktrysmt/go-bitbucket

Getting lost with how to download a repo

Closed this issue · 0 comments

I'm not sure if this package is the correct package that I need or not and while trying to find the right course of action to do what I need.

So, I am writing a CLI and when they use the command init I want to call bitbucket to either download the repo, because there are files that are located in it that the CLI will need to perform on them.

Why I want to do this is because I think that it will be easier to download the Repo and execute the commands than having the user set an environment variable with the path to the repository and then if that repository is updated then the user of the CLI must update the repository before they can run the CLI commands correctly.

So the question I have is which of the methods would I use for this?

thank you