Fixes #6761 - lazy loaded subcommands

See the new paragraph in doc/creating_commands.md to read more details about this commit.
I agree, thanks