Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Casing
toArgCase :: String -> String Source #
Turn a string into arg case for option names
Example: this-is-arg-case
toEnvCase :: String -> String Source #
Turn a string into env case for environment variable names
Example: THIS_IS_ENV_CASE
toConfigCase :: String -> String Source #
Turn a string into config case for configuration value names
Example: this-is-config-case
Internal
toShellFunctionCase :: String -> String Source #
Turn a string into a string that can be used as a shell function name (for completion)
Example: this_is_shell_function_case