chcase-cli
v1.0.0
Published
Convert names to specified case, i.e. camelcase.
Downloads
18
Maintainers
Readme
chcase-cli
Convert names to specified case, i.e. camel case.
Install
yarn global add chcase-cli
Or
npm install --global chcase-cli
Usage
chcase [option] input
chcase -C camel input
chcase -c input
cat list-of-names.txt | chcase -k
Set output case:
--case, -C Which case to convert to
[string] [choices: "camel", "kebab", "lower", "snake", "start", "upper"]
Shortcuts for --case [name]:
--camel, -c camelCase [boolean]
--kebab, -k kebab-case [boolean]
--lower, -l lowercase [boolean]
--snake, -s snake_case [boolean]
--start, -t Start Case [boolean]
--upper, -u UPPERCASE [boolean]
Options:
--help Show help [boolean]
License
MIT © therealklanni