Skip to main content

Case Style Changer - a CLI.

Project description

Case Style Changer

PyPi Python Version GitHub Workflow Status codecov Code Climate License

Case Style Changer is a CLI tool that guesses the case of the input string and converts it to another case.

Installation

pip install case-style-changer

Usage

$ csc [--text TEXT] CASE_NAME

CASE_NAME is the name of the case you want to convert.

Examples

You can use standard input or arguments.

$ echo "case-style-changer" | csc camel
caseStyleChanger
$ csc snake --text "caseStyleChanger"
case_style_changer

Available case style

Case Name CASE_NAME Example
Camel Case camel, camel_case, lower_camel_case, lcc caseStyleChanger
Pascal Case pascal, pascal_case, upper_camel_case, ucc CaseStyleChanger
Snake Case snake, snake_case, lower_snake_case, lsc case_style_changer
Constant Case constant, constant_case, screaming, screaming_snake_case, upper_snake_case, upper_case, usc, ssc CASE_STYLE_CHANGER
Kebab Case kebab, kebab_case, chain, chain_case case-style-changer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

case-style-changer-0.1.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

case_style_changer-0.1.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page