-
Notifications
You must be signed in to change notification settings - Fork 2
/
help.js
45 lines (33 loc) · 1.19 KB
/
help.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export default `
Outline
Convert string case on your terminal as you want
Tips: 1 - Result string is copied to your clipboard automatically.
2 - If you don't give any input, input would be your clipboard string automatically.
(This feature not works in headless environment.)
Usage
To convert case,
$ case-cli input --case=[option]
To set default case,
$ case-cli set [option]
Possible options
upper u / STRING CASE UTILITY FOR CONVERTING
lower l / string case utility for converting
snake s / string_case_utility_for_converting
kebab k / string-case-utility-for-converting
header h / String-Case-Utility-For-Converting
camel c / stringCaseUtilityForConverting
pascal p / StringCaseUtilityForConverting
title t / String Case Utility for Converting
random r / Random!
constant / STRING_CASE_UTILITY_FOR_CONVERTING
sentence / String case utility for converting
Examples
case-cli hello, world! --case=snake
> hello_world
case-cli --case=pascal hello, world!
> HelloWorld
case-cli -c=snake hello, world!
> hello_world
case-cli -c=s hello, world!
> hello_world
`