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

Detect project for `edgedb instance` commands

Open colinhacks opened this issue 3 years ago • 2 comments

Latest nightly seems not to detect projects for edgedb instance commands.

Running inside an initialized project:

$ edgedb
EdgeDB 2.0-dev.6625+f62dc75 (repl 1.2.0-dev.783+6690d4d)
Type \help for help, \quit to quit.
edgedb> \q
$ edgedb instance stop
edgedb error: Instance name argument is required, use '-I name'

colinhacks avatar Jun 24 '22 21:06 colinhacks

Yes. This was the plan: release a version that doesn't support that. So that edgedb instance stop $VARIABLE issues a warning (and errors out when $VARIABLE is empty). Wait for people to adjust scripts to use edgedb instance stop -I$VARIABLE and then detect project.

This is the second part of the #739

tailhook avatar Jun 25 '22 09:06 tailhook

I think it's time to pull the trigger on this @tailhook

colinhacks avatar Aug 05 '22 17:08 colinhacks