Add a mechanism to forward short commands to sub-commands.

E.g. `frame` can be forwarded to `frame get`.
Add an emptiness check to `env list`.
Add some command forwardings.

* `config` -> `config list`
* `frame` -> `frame get`
* `environment` -> `environment list`
* `thread` -> `thread get`