Open DRSDavidSoft opened 5 years ago
I would like to be able to use a custom showVersion() method, so I can also display the package name in addition to the version.
showVersion()
How about this?
args.showVersion = function(version, pkg) { return `${pkg} v${version}` }
That would be so nice!
nb: I assume that you are already parsing the package version from package.json, so it'd be cool to also get the package name from it, and pass it to the function.
package.json
Feature Request
I would like to be able to use a custom
showVersion()
method, so I can also display the package name in addition to the version.How about this?
That would be so nice!
nb: I assume that you are already parsing the package version from
package.json
, so it'd be cool to also get the package name from it, and pass it to the function.