isHelpCommand function
Check if the first argument is a help command.
Implementation
bool isHelpCommand(List<String> args) {
if (args.isEmpty) return false;
final first = args.first.toLowerCase();
return first == 'help' ||
first == '-help' ||
first == '-h' ||
first == '--help';
}