daytona icon indicating copy to clipboard operation
daytona copied to clipboard

Daytona code UX

Open idagelic opened this issue 6 months ago • 1 comments

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?"

idagelic avatar Aug 27 '24 13:08 idagelic