An open API service indexing awesome lists of open source software.

https://github.com/micnncim/chcase

CLI changing string cases
https://github.com/micnncim/chcase

Last synced: 4 months ago
JSON representation

CLI changing string cases

Awesome Lists containing this project

README

        

# chcase

CLI changing string cases

## Installation

```
$ brew install micnncim/tap/chcase
```

or

```
$ go get github.com/micnncim/chcase
```

## Usage

```
$ chcase -h
NAME:
chcase

USAGE:
chcase [global options] command [command options] [arguments...]

VERSION:
0.2.0

COMMANDS:
snake, s Convert input to snake_case
screaming-snake, ss Convert input to SCREAMING_SNAKE_CASE
kebab, k Convert input to kebab-case
screaming-kebab, sk Convert input to SCREAMING-KEBAB-CASE
camel, c Convert input to CamelCase
lower-camel, lc Convert input to lowerCamelCase
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
```

## Example

```
$ chcase c foo_bar_baz
FooBarBaz
$ chcase k FooBarBaz
foo-bar-baz
```

## LICENSE

[MIT](./LICENSE)