Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve download_bee_download_project to support the update command #348

Open
yorkshire-pudding opened this issue Nov 24, 2023 · 0 comments

Comments

@yorkshire-pudding
Copy link
Collaborator

yorkshire-pudding commented Nov 24, 2023

As discussed in #299 and #297 we need some improvements to the download_bee_download_project() function to better support the update function.

@hosef said:

As for the download command, I think that it would be a good idea to make a more generic download function that has options passed into it instead of accessing global variables or command line arguments directly. Off the top of my head, I think it would need: project name, download destination, version, if it should replace an existing version, if it should make a backup of the project. While we are at it, we should have other functions that handle getting paths and handling version info. We could then make all the commands that need to download projects wrap these other functions so that they behave consistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant