Demand signal for CLI commands. Fired by whoever is about to build a command tree — the dx
binary through createCliApp, the devtools terminal when its panel mounts — so command
modules load when someone can actually run a command.
A command tree is read ONCE, so this must be fired and awaited before the read: a command
registered afterwards is simply absent, and dx space list falls through to the root help
rather than failing anywhere near the cause.
Demand signal for CLI commands. Fired by whoever is about to build a command tree — the
dxbinary through createCliApp, the devtools terminal when its panel mounts — so command modules load when someone can actually run a command.A command tree is read ONCE, so this must be fired and awaited before the read: a command registered afterwards is simply absent, and
dx space listfalls through to the root help rather than failing anywhere near the cause.