diff options
author | tdro <tdro@users.noreply.github.com> | 2021-09-12 02:22:54 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2021-09-12 02:22:54 -0400 |
commit | 06b48a3b208ba61cad973c3150b51ab62e133dab (patch) | |
tree | 7958c1e3ed9ebd1182c0ae6e25d68b7ecc3e69ee | |
parent | 8e42174546f27f501d819adddef14fa576739dd5 (diff) | |
download | dotfiles-06b48a3b208ba61cad973c3150b51ab62e133dab.tar.gz dotfiles-06b48a3b208ba61cad973c3150b51ab62e133dab.tar.bz2 dotfiles-06b48a3b208ba61cad973c3150b51ab62e133dab.zip |
.local/bin/plumber: Lower case before title case
-rwxr-xr-x | .local/bin/plumber | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.local/bin/plumber b/.local/bin/plumber index 99cc7f3..beb0dc6 100755 --- a/.local/bin/plumber +++ b/.local/bin/plumber @@ -44,10 +44,7 @@ defmodule ArgParser do TextPlumber.singleLineOf(opts[:text]) |> IO.binwrite() opts[:option] == options[:title_case] -> - TextPlumber.titleCaseOf(opts[:text]) |> IO.binwrite() - - opts[:option] == options[:title_case] -> - TextPlumber.titleCaseOf(opts[:text]) |> IO.binwrite() + TextPlumber.lowerCaseOf(opts[:text]) |> TextPlumber.titleCaseOf() |> IO.binwrite() opts[:option] == options[:slug_text] -> TextPlumber.lowerCaseOf(opts[:text]) |> TextPlumber.slugOf() |> IO.binwrite() |