Fixes #6761 - lazy loaded subcommands

See the new paragraph in doc/creating_commands.md to read more details about this commit.
Shouldn't this be marked for transletion?