🧊Rimuru is a tool that converts text into a different naming convention
- Xcode 11.5 or greater
- Swift 5.2 or greator
OVERVIEW: A tool for converting the input text to different naming convention
e.g Rimuru --from lower --to upper exampleTestCase
USAGE: rimuru --from <from> --to <to> <text>
ARGUMENTS:
<text> The text to be converted
OPTIONS:
-f, --from <from> Input text naming convention
Select the following naming convention
(upper|lower|screamingSnake|snake|kebab|train)
-t, --to <to> Output text naming convention
Select the following naming convention
(upper|lower|screamingSnake|snake|kebab|train)
--version Show the version.
-h, --help Show help information.
Naming Convention |
---|
UpperCamelCase |
LowerCamelCase |
ScreamingSnakeCase |
SnakeCase |
KebabCase |
TrainCase |
$ rimuru --from upper --to snake ExampleTestCase
example_test_case
Put the following code in Package.swift
.
dependencies: [
.package(url: "https://github.com/funzin/Rirumu.git", from: "1.0.0"),
]
Put the following code in Mintfile
.
funzin/Rimuru@1.0.0
git clone https://github.com/funzin/Rimuru
make setup
open Rimuru.xcodeproj
If you discover problem or have opinions, please let me know through Github issues💁♂️
funzin
Rimuru is available under the MIT license. See the LICENSE file for more info.