From what I can tell, user commands can only be loaded from namespace scripts located in the directories specified by the SALT cmddir
setting.
But I have an interest in loading a user command directly from an in-memory namespace, without ever having a namespace script reside on a locally accessible disk.
An example use case might be loading a namespace that defines one or more user commands from a remote repository via ]get
, and then "installing" the user commands into the workspace directly from memory.
Is this possible?