-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Overview
Right now you have to go into the myver config file to see the names of the parts that you can bump, you should have a command that lists these parts in a more clean way.
Proposal
I suggest that we add a new argument of --info with a shorthand of -i. Assuming that there is are three parts in the configuration called major, minor, and pre with values of 3, 8, 1
Then the output of the command will look like this
$ myver --info
major -- 3
minor -- 8
pre ---- 1
There could be a part that has the value of null. Lets say we have a part called optional and it has the value of null, then it could possible be good to display that in the list like this
$ myver --info
major ----- 3
minor ----- 8
optional --
pre ------- 1
As you can see in the list, there are dashes - that separate the values of the part and the parts name. There is a space between the dashes, the part name, and the part value. Also, the shortest chain of dashes is a count of 2 (as seen in the optional part) and all other part values in the list must extend out to the same distance.