Skip to content
Myr

Add --version flag to CLI (#563)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Support -v/--version to print the current package version.

authored by Mahmoud Hamdy · committed by GitHub · parent 1d6f2ff · Browse files · 2 files+18 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+18 added−0 removed

  • tests:+6 added−0 removed
  • other:+12 added−0 removed

2 files+18 added−0 removed

modified:bin/nanoid.js+12 added
modified:test/bin.test.js+6 added