Introduce the concept of a foreign argument.

When an embedding application wants to integrate its argument
handling with typ, it can re-use typ's ArgumentParser subclass
and add its own arguments to it. They will be ignored and
not passed to spawned instances of typ.
2 files changed