Instead of passing around a string and having each command parse off additional tokens, have a single command to parse all of the tokens, and the commands can pass around a token list. Then each command/subcommand can pop off whatever arguments they need.
2.5 KiB
2.5 KiB