| Crates.io | kodumaro-trim |
| lib.rs | kodumaro-trim |
| version | 1.0.3 |
| created_at | 2024-08-28 15:09:32.854071+00 |
| updated_at | 2025-06-19 17:22:07.944067+00 |
| description | Command line tool to trim strings. |
| homepage | https://crates.io/crates/kodumaro-trim |
| repository | https://github.com/cacilhas/microcli/tree/master/kodumaro-trim |
| max_upload_size | |
| id | 1354759 |
| size | 19,221 |
Kodumaro Trim aims to be a shell in-pipe tool for removing leading and trailing characters from strings.
❯ cargo install kodumaro-trim
❯ upx --best --lzma ~/.cargo/bin/trim
❯ git clone https://codeberg.org/cacilhas/microcli.git
❯ cd microcli
❯ cargo install --path=trim
❯ upx --best --lzma ~/.cargo/bin/trim
Usage: trim [OPTIONS] [FILE]
Arguments:
[FILE] input file, defaults to STDIN
Options:
-l, --left trim only leading
-r, --right trim only trailing
-c, --char <CHAR> character to be removed, defaults to whitespaces
-h, --help Print help
echo ' hello world ' | trim
License: BSD-3-Clause