cubicweb #17253994 Allow cw-ctl commands to read instance from $CW_INSTANCE [resolved]

When using docker image logilab/cubicweb we set a CW_INSTANCE environment variable.

In this case having cubicweb-ctl commands read the instance from $CW_INSTANCE would simplify running commands in the container, e.g.

docker run --rm -it image cubicweb-ctl shell
docker run --rm -it image cubicweb-ctl upgrade
done in3.27.0
load left0.000
closed by#22ece66dcd47 [ctl] allow to specific instance name for instance commands in $CW_INSTANCE
assigned to