Skip to content

1.2

Choose a tag to compare

@chrishannah chrishannah released this 30 Aug 16:12
· 11 commits to main since this release
e3ac7ca

Text Case is now built on Apple's Swift Argument Parser, meaning the way you interact with the textcase command is slightly different.

For starters, textcase now has two sub commands: format and list-formats. Although the default sub command is format, so that's not explicitly required.

So to view a list of formats, you now need to use textcase list-formats.

As for the formatting, here are the various options:

USAGE: text-case format --format <format> [--input <input>] [--input-file <file>] [--output-file <file>]

OPTIONS:
  -f, --format <format>   Format to be used.
  -i, --input <input>     Text to be formatted.
  --input-file <file>     Path of file to be used as input.
  --output-file <file>    Path of file to be used as output.
  --version               Show the version.
  -h, --help              Show help information.

And, of course, you can use textcase --help, textcase format --help, or textcase list-formats --help for more information.