kase
Convert from one case to another. Input case is determined on a best-guess basis, but can be overridden with the --from flag.
shell script
cargo install kase
```console $ kase snake MyVariable my_variable
$ kase screaming-snake myvariable MYVARIABLE
$ kase kebab MY_VARIABLE my-variable
$ kase path my-variable my/variable
$ kase dot my/variable my.variable
$ kase camel my.variable myVariable
$ kase pascal myVariable MyVariable
$ # If the best-guess for an input isn't right for your use case, you can use the --from
flag:
$ kase dot mydir/mypath
my.dir/my.path
$ kase --from path dot mydir/mypath mydir.mypath ```
```console $ kase -h Convert from one case to another. Input case is determined on a best-guess basis, but can be overridden with the --from flag.
Usage: kase [OPTIONS]
Arguments:
Options:
-f, --from