Skip to content

Latest commit

 

History

History
95 lines (75 loc) · 2.38 KB

README.md

File metadata and controls

95 lines (75 loc) · 2.38 KB

🧊Rimuru

🧊Rimuru is a tool that converts text into a different naming convention

GitHub Action Platform Language License License

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_case

Installation

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.0

Development

  1. git clone https://github.com/funzin/Rimuru
  2. make setup
  3. open Rimuru.xcodeproj

Contact

If you discover problem or have opinions, please let me know through Github issues💁‍♂️

Author

funzin

License

Rimuru is available under the MIT license. See the LICENSE file for more info.