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
- Host: GitHub
- URL: https://github.com/micnncim/chcase
- Owner: micnncim
- License: mit
- Created: 2019-04-09T11:29:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T08:00:47.000Z (about 6 years ago)
- Last Synced: 2024-11-09T15:48:30.941Z (8 months ago)
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
chcaseUSAGE:
chcase [global options] command [command options] [arguments...]VERSION:
0.2.0COMMANDS:
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 commandGLOBAL 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)