Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

How to use with class methods, and can I add general options? #1

Open
retorquere opened this issue Aug 9, 2019 · 0 comments
Open

Comments

@retorquere
Copy link

retorquere commented Aug 9, 2019

From reading the code I think it's possible to use this with class methods, but I don't know how, can you give a sample?

I also need to have global options to pass an optional token (something like --token <string>) to every command. Is there a way to specify this in one place and handle parsing centrally?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant