| Crates.io | sorn |
| lib.rs | sorn |
| version | 0.1.1 |
| created_at | 2025-05-17 06:07:01.248439+00 |
| updated_at | 2025-05-24 09:13:24.514026+00 |
| description | soorn is a CLI tool to generate |
| homepage | https://tu-dresden.de/ing/informatik/sya/se/studium/lehrveranstaltungen/summer-semester/PROG/index |
| repository | https://github.com/christoffetzer/sorn.git |
| max_upload_size | |
| id | 1677681 |
| size | 15,875 |
sornsorn is a CLI tool to generate
The program is designed to be run from the command line and takes the following arguments:
--length: The length of the random string to generate.
--sleep: The number of seconds to sleep between generating random strings.
--repeat: The number of times to repeat the process of generating a random string and sleeping.
The program uses the clap crate for command line argument parsing. The program uses the rand crate to generate random strings and the std::thread module to sleep.
Usage: sorn_cli [OPTIONS]
Options:
-l, --length <LENGTH>
number of random characters to generate
[default: 32]
-s, --sleep <SLEEP>
number of seconds to sleep
[default: 10]
-r, --repeat <REPEAT>
number of times to repeat
[default: 1000000000]
-h, --help
Print help (see a summary with '-h')
cargo update
clippy:cargo clippy -- -W clippy::pedantic
cargo run -- --help
cargo install --path .