Web UI as a learning tool for the CLI?

The current UI is really just a light fork of the LXD UI. We have added some minor extra features and fixed some bugs, but we’re not likely to make any large changes as that makes it very hard to rebase on newer LXD UI versions.

We do have a plan to create a new UI from scratch, at which point this kind of feature may become an option. Something that would be fun to support is having built-in CLI access through an ephemeral container that would allow for running CLI commands in the same context as the UI.

In general the goal for any new UI work is to limit the amount of hardcoded data in the UI itself, so all config keys, help messages, … should come from the API metadata endpoint. That endpoint could also provide some CLI suggestions at that point.