Skip to content

camel

Rustv0.1.0MIT

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

LongShortDescription
--version-VShow version and license
--to-tTarget case: camel, snake, kebab, pascal
--input-iText to convert
--file-fInput 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
Language
Rust
Versionv0.1.0
LicenseMIT
RepositoryGitHub