mttaggart/OffensiveNotion

[Refac/New Feature] Robust arg parsing for command `handle` functions

HuskyHacks opened this issue · 3 comments

[Refac/New Feature] Robust arg parsing for command `handle` functions

Args are now iterators, passed to commands and able to be unwrapped with defaults. Completed in 266b2f4

Let's review functionality and guarantee nothing got broken.

Closing for now; leaving the contract experiment for another time. Iterators provide pretty substantial safety with unwrap_or_default() and unwrap_or_else()