Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code to allow for the addition of a command to create config file #18

Open
joebonneau opened this issue Oct 1, 2021 · 0 comments

Comments

@joebonneau
Copy link
Owner

For the user, it would be really nice to be able to set up a config file that has the necessary information (client id, client secret, etc.). This is easy to implement, but the issue comes with trying to create a command to generate the config file. Currently, the auth logic is executed directly in the "main" group call and there is no way to circumvent that happening. Because the config command shouldn't care about the auth, we can't implement.

See here and here for implementation ideas - basically need to chain together commands and create a decorator to apply to commands where we don't want this behavior.

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

No branches or pull requests

1 participant