nanoid-cli icon indicating copy to clipboard operation
nanoid-cli copied to clipboard

Allow generation of n ids in one go

Open alexjackson1 opened this issue 6 years ago • 0 comments

Allows generation of multiple ids at once

Tiny update to nanoid-cli which allows generation of multiple ids separated by new line characters. Updates packages to remedy security vulnerabilities.

Main Changes

  • Add new CLI argument --number or -n to specify number of ids to generate
  • Update documentation to include --number option
  • Always end on a new-line character
  • Update package version to fix 95 security vulnerabilities
  • Add test to ensure --number argument is respected

Comment

I am using nano-id in a project and made a small update to your CLI for convenience, thought I would submit a pull request with the enhancement and updated packages. :smile:

alexjackson1 avatar May 21 '19 23:05 alexjackson1