Add support for subcommands

Importantly, this currently does not include nested subcomands. A cleaner solution for those will have to be developed later.

Created by  finchie  on November 20, 2023
NSWIJUHGFP34MVP46XYEKFEWQN6TEGDFSX3A7PIPVDOORTE5CB5QC
Change contents