client icon indicating copy to clipboard operation
client copied to clipboard

Create Repo with visibility and clone settings

Open deanp70 opened this issue 1 year ago • 0 comments

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

deanp70 avatar May 17 '23 09:05 deanp70