Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.11 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.11 KB

wl is a command line utility for converting strings to a given casing style.

demo

Installation

go install -v github.com/s0md3v/wl/cmd/wl@latest

Confused or something not working? Try these instructions from my other tool's help section.

Usage

Usage of wl:
  -c string
        casing style (required)
  -i string
        input file (default stdin)
  -o string
        output file (default stdout)

Example #1: wl -c fooBar -i input.txt -o output.txt
Example #2: cat input.txt | wl -c fooBar

Note: You don't need to use the words foo and bar, any word e.g. prod_api_id will work. wl will detect the casing style of your word and apply it to your wordlist. This can be handy in cases like changing your wordlist according to the input recieved from another tool.

Supported styles

Common

foobar, foo_bar, fooBar, FooBar, FOOBAR, FOO_BAR

More

foo-bar, FOO-BAR, foo.bar, FOO.BAR, Foo.Bar, Foo_Bar, Foo-Bar, foo.Bar, foo.Bar, foo_Bar, foo-Bar