commit | c8845b2354afb6350244beb2d4430da3a2b203e3 | [log] [tgz] |
---|---|---|
author | Dimitri Glazkov <dimitri@glazkov.com> | Sun Dec 11 00:36:26 2016 |
committer | Dimitri Glazkov <dimitri@glazkov.com> | Sun Dec 11 00:36:26 2016 |
tree | b42fa8ab6c0c6a802ac799eed4f81be69dca8dab | |
parent | 3df460d1b6d83594e75f6b50f889a240a2e1925e [diff] |
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.