Skip to content

Request: follow XDG Base Directory specification for stored config #205

@jonschlinkert

Description

@jonschlinkert

In #37, config was moved to .twilio-cli/config.json, however, this is less than idiomatic as many developers strongly prefer not to clutter up the user directory with custom confirmation files or folders.

Instead, I'd like to recommend that we follow the XDG Base Directory specification, which provides sensible defaults for the config directory to use, but also allows users to override with environment variables.

If we decide to implement this, I think it can be done in a backwards compatible way. Also, FWIW I created this library for this purpose (on other projects), but I won't be offended in the least if you wanted to use something different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: easyfix is easy in difficultypriority: lowNice-to-have; can waitstatus: help wantedrequesting help from the communitytriage queueIssue is in our internal backlog. It's either a bug or a feature enhancement.type: community enhancementfeature request not on Twilio's roadmap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions