HomeFreeBSD

lualoader: Attach cli command functions to cli module

Description

lualoader: Attach cli command functions to cli module

Instead of the global namespace, let's attach these to the cli module. Other
users, including the "local" module, can attach functions to the cli module
at will to add other cli commands and things will still Just Work.

This distills down the candidates for functions that may be invoked via the
cli to a minimal set (boot, autoboot, arguments), rather than any function
that happens to live in the global lua namespace.

Details

Provenance
kevansAuthored on
Parents
rS329785: Move DDP PCB state into a helper structure.
Branches
Unknown
Tags
Unknown