Skip to content

Improve config discovery #4

@vitonsky

Description

@vitonsky

Related to #1

Currently util reads config from current working directory so we have to place .env file everywhere.
Instead user must be able to configure util once and use everywhere.

The proposal is to improve a config discovery implementation.

Config loolup must be started at CWD and go up over all parent directories and search there.
As special edge case when a CWD is out of user home directory, we should check a config at home directory.

Config file must have a unique name, like .pedantrc.
Later we may support a new config formats like YAML or JS.

Also we could add some command to configure a tool interactively.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions