Skip to content

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

@joebonneau

Description

@joebonneau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions