A text case converter that transforms strings between the four most common programming naming conventions. Supports input from command line arguments or files. Handles mixed-case input intelligently and preserves numbers. Essential for code migrations between codebases with different naming conventions.
TextUtilityConversionCLI
Features
- Converts between camelCase, snake_case, kebab-case, PascalCase
- Input from command line or file
- Handles mixed-case and number-preserving conversion
- Single binary, zero dependencies
Flags
| Long | Short | Description |
|---|---|---|
| --version | -V | Show version and license |
| --to | -t | Target case: camel, snake, kebab, pascal |
| --input | -i | Text to convert |
| --file | -f | Input file |
Usage
terminal
$ camel --to camel 'hello_world'
$
$ camel --to snake 'userName'
$
$ camel --to kebab 'PascalCase'
$
$ camel --to pascal 'kebab-case'
Dependencies
Zero external dependencies — pure string manipulation
Install
$ curl -LO https://labs.stech-sol.com/downloads/camel/0.1.0/camel_linux_amd64
$ chmod +x camel_linux_amd64
$ sudo mv camel_linux_amd64 /usr/local/bin/camel
About
Downloads
Verify integrity
SHA256 checksums