Skip to content

Feature Request: Use of $XDG_CONFIG_HOME in configuration path #44

@Carus11

Description

@Carus11

As a user who needs to manage many CLI tools, I would like a consistent default pattern to where config files are sourced. The XDG base directory specification was introduced in 2003 to suggest such a consistent pattern.

For configurations it reads:

$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

Ideally I would like a consistent pattern across all SAS CLI based tools, which could all use the same directory such as $XDG_CONFIG_HOME/sas or $HOME/.config/sas so that config files for the sas-viya cli, the viya4-orders-cli would be grouped by the vendor or software suite.

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