Skip to content

Use XDG_CONFIG_HOME path instead of home directory #191

@aronmolnar

Description

@aronmolnar

The CLI tool reptor populates the user's home directory by storing the config files in ~/.sysretpor. This can be fixed by adding support for the XDG Base Directory and storing the config file in $XDG_CONFIG_HOME/sysreptor/config.yml.

It is, however, only applicable if XDG variable is set and must also work on Windows environments (even though an alternative directory could be used there too, like Roaming).

There are, additionally, some complexities how to handle existing config files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions