Skip to content

[FEAT] Set configuration file from ENV variable #2558

Description

@creizlein

Description

It would be great if we can set the configuration file to be used via an environment variable.
FASTFETCH_CONFIG=/path/to/file.json

That way we don't need to specify it via command line and we can have different config files set per environment.

Motivation

Motivation comes due the fact that i have several different config files, one per Linux distribution, on a shared drive, with different names.

Right now, the only way to use a specific file per distribution is to pass it with command line arguments, but that is cumbersome when it would be specified via an environment variable.

Additional context

No response

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

    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