defineCommand method
Used to register a new root level command command line.
Implementation
AFCommand defineCommand(AFCommand command, { bool hidden = false }) {
if(hidden) {
commands.addHiddenCommand(command);
} else {
commands.addCommand(command);
}
return command;
}