dispatch library Null safety

A class-based system for argument parsing with Plade.

Classes

AppHandler
CommandHandler<T>
A Handler for handling a subcommand.
CommandHandlerSet<T>
A set of CommandHandler instances representing subcommands.
Handler
A class that can register arguments with an ArgParser and then run after parsing.
HandlerContext
A context of all "parent" handlers. This can be used by Handler.run on a subcommand to access the Handler of parent command handlers / the root app handler, like a lightweight service container.
WithCommands<T>
An interface that a Handler can implement to register subcommands. If this is implemented, then its Handler.run method will be called before any subcommand's Handler.run.