support filesize arguments in random binary/chars (#14068)

Closes #13920

# User-Facing Changes

`random binary` and `random chars` now support filesize arguments:

```nushell
random binary 1kb
random chars --length 1kb
```
This commit is contained in:
Solomon
2024-10-12 06:49:05 +00:00
committed by GitHub
parent e32e55938b
commit d83781ddec
5 changed files with 55 additions and 7 deletions

View File

@ -1,3 +1,4 @@
mod binary;
mod bool;
mod chars;
mod dice;