| Crates.io | heckmv |
| lib.rs | heckmv |
| version | 1.0.1 |
| created_at | 2024-01-18 06:58:27.823466+00 |
| updated_at | 2024-01-18 07:10:11.181503+00 |
| description | A basic case-conversion renaming CLI tool. |
| homepage | |
| repository | https://github.com/kyllingene/heckmv |
| max_upload_size | |
| id | 1103885 |
| size | 9,693 |
Converts case while renaming files and directories. Provides all the cases that heck does, while adding three: UPPERCASE, lowercase (those two ignore word breaks), and Sentence case.
The case is selected via -c/--case. Note the following guidelines:
case to your selection, e.g. kebab not kebab-caseSen-TENCE == sentenceshouty_CASE: shoutysnakeshout_CASE : shoutsnakeupper_CASE: uppersnakeUsage:
heckmv [options] <files...>
-r/--recursive : recurse into directories
-d/--include-dirs : also rename directories
-c/--case <case> : specify the case (required)
-h/--help : show this help message
Renames files using the Rust `heck` crate for
most casing conversions. Available cases:
UPPERCASE : ignores word breaks
lowercase : ignores word breaks
Title Case
Sentence case
UpperCamelCase
lowerCamelCase
snake_case
kebab-case
SHOUTY_SNAKE_CASE
SHOUTY-KEBAB-CASE
Train-Case