9 releases (2 stable)

1.0.1 Jun 16, 2024
1.0.0-beta.0 Oct 19, 2023
0.1.11 Apr 2, 2022
0.1.10 Feb 13, 2022

#350 in Command line utilities

MIT license

15KB
324 lines

Random tag

Command-line utility for generating random tags.

Random tag crate MIT licensed minimum rustc 1.74

Installation

Crate requires rustc 1.74.0 or greater.

cargo install random-tag

Usage

Generate random tags

Usage: random-tag [OPTIONS] [COMMAND]

Commands:
  completions  Outputs the completion file for given shell
  dump-tags    Dump used tags as CSV to stdout
  load-tags    Load used tags from stdin or file in CSV format
  check-db     Check used tags database
  drop-db      Drop used tags database
  help         Print this message or the help of the given subcommand(s)

Options:
  -c, --chars <CHARS>    Tag chars [default: dfqsvz0123456789]
  -l, --length <LENGTH>  Tag length from 1 to 255 [default: 6]
  -a, --amount <AMOUNT>  Tags amount from 1 to 255 [default: 10]
  -h, --help             Print help
  -V, --version          Print version

Dependencies

~6–14MB
~159K SLoC