InditexTech / gh-sherpa

Streamline branch and pull request creation for Jira or GitHub issues from command line
Apache License 2.0
48 stars 2 forks source link

File based hierarchy configuration #4

Open hielfx opened 1 year ago

hielfx commented 1 year ago

Motivation

Currently we have only one configuration file located in the user's home directory. A better approach would be to create a file hierarchy for each supported operating system, so the users could have different configurations for each projects, with a general one.

This configuration should be merged (instead of replaced) so the users can override some of the configuration options.

Example of hierarchy:

  1. Environment variable
  2. Project
  3. Home
  4. System
  5. ...

Acceptance criteria