Is there a way to having a global set of "Options" that could be configured from _command line_, that all "Verb actions" could use/access?
Have you tried creating a common options class and then creating your verbs as subclasses of that common class?
No I have not - will try this out. Thanks!
On Tue, Sep 25, 2018 at 17:26 Dan Nemec notifications@github.com wrote:
Have you tried creating a common options class and then creating your
verbs as subclasses of that common class?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/commandlineparser/commandline/issues/335#issuecomment-424386906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Apj4U9o7PpgOg9_2QaxOvN1Fjv9crfxZks5uekshgaJpZM4W41m_
.
Most helpful comment
Have you tried creating a common options class and then creating your verbs as subclasses of that common class?