Each command should have it's own command parser, like argparse.
The first input sequence until whitespace is the command. If it matches a command in the registrar, and there is further input text, then use that command's argument parser. If no argument parser is defined it means that it doesn't accept arguments.
Each command should have it's own command parser, like
argparse
.The first input sequence until whitespace is the command. If it matches a command in the registrar, and there is further input text, then use that command's argument parser. If no argument parser is defined it means that it doesn't accept arguments.
Extend
Command
with the following per default:If defining arguments for a command:
Example of usage: