Separate builtin parsing and implementation
mgree opened this issue · 0 comments
mgree commented
Right now each builtin does its own ad hoc parsing in command.lem
. We should separate the parsing descriptions from the builtin implementations. Not only will be able to give better help text, we'll be able to do more static reasoning, e.g., identifying unspec argument use early.
It would be interesting to follow the fish approach of parsing the man page directly.