Skip to content

Commit e4a93fd

Browse files
committed
feat: add case example
1 parent 9f14a08 commit e4a93fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cmd/case.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
var CamelCaseCmd = &cobra.Command{
1111
Use: "camel-case [text]",
12-
Short: "Coverts string to camel case",
12+
Short: "Coverts string to camel case (fooBar)",
1313
Args: cobra.ExactArgs(1),
1414
DisableFlagsInUseLine: true,
1515
Run: func(cmd *cobra.Command, args []string) {
@@ -19,7 +19,7 @@ var CamelCaseCmd = &cobra.Command{
1919

2020
var KebabCaseCmd = &cobra.Command{
2121
Use: "kebab-case [text]",
22-
Short: "Coverts string to kebab case",
22+
Short: "Coverts string to kebab case (foo-bar)",
2323
Args: cobra.ExactArgs(1),
2424
DisableFlagsInUseLine: true,
2525
Run: func(cmd *cobra.Command, args []string) {
@@ -29,7 +29,7 @@ var KebabCaseCmd = &cobra.Command{
2929

3030
var LowerCaseCmd = &cobra.Command{
3131
Use: "lower-case [text]",
32-
Short: "Coverts string to lower case",
32+
Short: "Coverts string to lower case (foo bar)",
3333
Args: cobra.ExactArgs(1),
3434
DisableFlagsInUseLine: true,
3535
Run: func(cmd *cobra.Command, args []string) {
@@ -39,7 +39,7 @@ var LowerCaseCmd = &cobra.Command{
3939

4040
var SnakeCaseCmd = &cobra.Command{
4141
Use: "snake-case [text]",
42-
Short: "Coverts string to snake case",
42+
Short: "Coverts string to snake case (foo_bar)",
4343
Args: cobra.ExactArgs(1),
4444
DisableFlagsInUseLine: true,
4545
Run: func(cmd *cobra.Command, args []string) {
@@ -49,7 +49,7 @@ var SnakeCaseCmd = &cobra.Command{
4949

5050
var StartCaseCmd = &cobra.Command{
5151
Use: "start-case [text]",
52-
Short: "Coverts string to start case",
52+
Short: "Coverts string to start case (Foo Bar)",
5353
Args: cobra.ExactArgs(1),
5454
DisableFlagsInUseLine: true,
5555
Run: func(cmd *cobra.Command, args []string) {
@@ -59,7 +59,7 @@ var StartCaseCmd = &cobra.Command{
5959

6060
var UpperCaseCmd = &cobra.Command{
6161
Use: "upper-case [text]",
62-
Short: "Coverts string to upper case",
62+
Short: "Coverts string to upper case (FOO BAR)",
6363
Args: cobra.ExactArgs(1),
6464
DisableFlagsInUseLine: true,
6565
Run: func(cmd *cobra.Command, args []string) {

0 commit comments

Comments
 (0)