edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

Running `edgedb instance <subcommand>` in a project

Open vjjft opened this issue 2 years ago • 2 comments

When working in a project, it would be useful to have an easy way to accomplish edgedb instance <subcommand> -I <project_instance_name>.

I propose having edgedb instance <subcommand> implicitly use the instance from the project, since that: aligns with the behavior of running edgedb; should not result in unexpected behavior for any of the instance subcommands; is likely the most commonly expected behavior.

vjjft avatar Feb 22 '23 23:02 vjjft

What do you think about this suggestion, @tailhook?

raddevon avatar Feb 23 '23 15:02 raddevon

This was a part of plan of deprecating edgedb instance <subcommand> <instance_name> and introducing -I. I'm not sure if deprecation period is enough, though.

tailhook avatar Feb 23 '23 15:02 tailhook