Skip to content

fix: load order for config #12

@metaist

Description

@metaist

Currently, config values are loaded before CLI arguments (argv), which is correct. Except that CLI arguments also include default values. Which means that default values are superseding config values.

The order I'd like (later values winning):

  • default values
  • config values
  • CLI arguments

But this implies that we need to know which of the docopt values are default and which happen to have the same value as the default.

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