funzin/rimuru
🧊Rimuru is a tool that converts text into a different naming convention
Environment
- Xcode 11.5 or greater
- Swift 5.2 or greator
GIF
[demo]
Usage
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.Support for Naming Convention
|Naming Convention| |:-:| |UpperCamelCase| |LowerCamelCase| |ScreamingSnakeCase| |SnakeCase| |KebabCase| |TrainCase|
Example
$ rimuru --from upper --to snake ExampleTestCase
example_test_caseInstallation
Swift Package Manager
Put the following code in Package.swift.
dependencies: [
.package(url: "https://github.com/funzin/Rirumu.git", from: "1.0.0"),
]Mint
Put the following code in Mintfile.
funzin/Rimuru@1.0.0Development
git clone https://github.com/funzin/Rimurumake setupopen Rimuru.xcodeproj
Contact
If you discover problem or have opinions, please let me know through Github issues💁♂️
License
Rimuru is available under the MIT license. See the LICENSE file for more info.
Package Metadata
Repository: funzin/rimuru
Default branch: master
README: README.md