AndreasAugustin / go-gitmoji-cli

:octocat: A conventional gitmoji commit interactive command line tool for using emojis on conventional commits. :rocket:

Home Page:https://gitmoji.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feat]: make all configuration options available with cli flags

AndreasAugustin opened this issue · comments

Describe the feature

Currently you are able to configure the cli with a config file or environment variables.
normally one would expect to be able to configure the cli also with cli flags.

A map betweeen the cli options and configuration options would be nice to have.

Use Case

sometimes one like to use configuration options with cli flags, e.g. within CI tasks or when you want to try something out or you have an exceptional case.

Proposed Solution

use the viper pflag mapping https://gist.github.com/brianclements/841ea7bffdb01346392c

Acknowledgements

  • I may be able to implement this feature request