Crates.io | ncase |
lib.rs | ncase |
version | 0.3.2 |
created_at | 2022-07-22 16:17:57.049861+00 |
updated_at | 2025-02-14 16:22:29.576382+00 |
description | Enforce a case style |
homepage | |
repository | https://codeberg.org/xmyst/ncase.git |
max_upload_size | |
id | 630901 |
size | 47,997 |
So that I can
% for f in *.pdf; do
mv "$f" "$(ncase -s `basename "$f" .pdf`).pdf"
done
% cargo install ncase
Enforce a case style on a string and write it to the standard output
% ncase --pascal this is a test string
ThisIsATestString
By default, enforce tOGGLE cASE
1
% ncase this is a test string
tHIS iS a tEST sTRING
Add the dependency to Cargo.toml
% cargo add ncase@0.3
See on docs.rs.
rANdOm cASe
if built with the rand
feature. ↩