two things that would make a lot of things easier perhaps:
(1) if we only accepted fully-qualified cli options at the start of the command line, before any goals. any options after a goal are sub-scoped to that goal
(2) if positional args were also scoped to a specific goal