Nothing Special   »   [go: up one dir, main page]

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

Create Repo with visibility and clone settings #289

Open
deanp70 opened this issue May 17, 2023 · 0 comments
Open

Create Repo with visibility and clone settings #289

deanp70 opened this issue May 17, 2023 · 0 comments

Comments

@deanp70
Copy link
Member
deanp70 commented May 17, 2023

Currently, you can use DagsHub to create a repo in 2 ways:

  1. CLI
  2. Python API

Each one doesn't have all the options, which creates a strange UX when they are necessary.

The CLI flow, doesn't have the option to create a private repo, but does enable cloning the repo locally after creating it. The Python API does have the visibility option, but not the cloning option.

It would be good to have either the CLI or the API have all options. This can be achieved either by adding a clone flag to the Python function, and moving the logic for cloning from the CLI to the API, and/or we can add a --private flag to the CLI command that uses the argument in the API to create a private repo

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

No branches or pull requests

1 participant