kiegroup / git-backporting

Git backporting is a CLI tool to execute pull request backporting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration File as Option

lampajr opened this issue · comments

Since the number of CLI options is increasing more and more, give users the possibility to provide a json configuration file containing all those required options.

Option: ".option(--config <path-to-config>", "path to a configuration file containing all required options", undefined)

Config file example:

{
  "target-branch": "<branch>",
  "pull-request": "<pr-url>",
  "auth": "<token>",
  ...
}