GithubHelp home page GithubHelp logo

[RFC] configuration file? about dotslash HOT 3 OPEN

facebook avatar facebook commented on July 27, 2024 2
[RFC] configuration file?

from dotslash.

Comments (3)

bolinfest avatar bolinfest commented on July 27, 2024 1

By CONFIG_DIR I meant the thing that the linked Rust code could would return, which follows the XDG Base directory specification, so I guess I should have said XDG_CONFIG_HOME.

from dotslash.

alilleybrinker avatar alilleybrinker commented on July 27, 2024 1

Is there is hierarchical configuration, it would be very useful to be able to ask the tool to display the config values it’s landed on, and ideally to report where each value is set. Can help with debugging when you expect the value to be one thing and it’s something else instead.

from dotslash.

abesto avatar abesto commented on July 27, 2024

Location

Hierarchical configuration like this is great. Usually I'd expect to also see beyond what you already have:

  • ~/.dotslash (maybe this is what you meant with <CONFIG_DIR>)
  • Overrides with ENV variables

I like https://rust-cli-recommendations.sunshowers.io/hierarchical-config.html for this.

from dotslash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.