daytona
daytona copied to clipboard
Daytona code UX
Is your feature request related to a problem? Please describe. As mentioned in #859 people might try to intuitively use daytona code for creating or expect it to default to an existing project.
Right now running daytona create <GIT_REPO>
will try to find the user's already configured project config for the given repo and use it to create a workspace.
Describe the solution you'd like
I propose daytona code <GIT_REPO>
to find an existing workspace that has the <GIT_REPO>
project and attempt to code into it if there is only one. Also log a message telling the user what's happening.
If there isn't, it should print out "No such project found. Did you mean to run daytona create <GIT_REPO> --code instead?"