Skip to content

load default config without argparse #51

Description

@eddie

Parts of my codebase which require sending tasks are run from scripts which already use argparse.

I'd like to be able to pass config options for mrq to use in this case, without going through https://github.com/pricingassistant/mrq/blob/master/mrq/config.py#L9 add_parser_args

Splitting out add_parser_args from get_config and removing the dependency of default config being coupled to ArgumentParser would allow use to pass a dict to get_config with ease.

Thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions