extractCommands function

List<SimpleCommand> extractCommands(
  1. String input
)

Extract all simple commands from a command string.

Implementation

List<SimpleCommand> extractCommands(String input) {
  final cmdList = parseCommand(input);
  return cmdList.allCommands;
}