Skip to content

Better config handling #44

@staubichsauger

Description

@staubichsauger

Creating a config directory in the same directory as the CLI is executed isn't particularly robust or friendly to a users machine. Configuration should be placed in either a $HOME/.ctcli folder or even better in a $HOME/.config/ctcli folder (at least on Linux/Mac based systems).

A simple first step would be to provide an option to tell the CLI where to look for the config folder (e.g. --config-dir or using an environment variable like $CTCLI_CONFIG_DIR). This would allow people wanting a different behavior (me 😉 ) to at least configure it differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnice to haveLow priority requirement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions