https://github.com/jftuga/changecase
convert command line arguments to upper, lower or title case
https://github.com/jftuga/changecase
cli cli-tool golang
Last synced: 11 months ago
JSON representation
convert command line arguments to upper, lower or title case
- Host: GitHub
- URL: https://github.com/jftuga/changecase
- Owner: jftuga
- License: mit
- Created: 2022-03-08T13:11:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T22:56:21.000Z (over 2 years ago)
- Last Synced: 2025-01-29T23:29:54.022Z (over 1 year ago)
- Topics: cli, cli-tool, golang
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changecase.go
- License: LICENSE
Awesome Lists containing this project
README
# changecase
* convert command line arguments to upper, lower or title case
* return the combined length of all command-line arguments
* check for string equality with optional case-insensitive matching
* outputs all content except a trailing newline, mimicking Perl's chomp functionality
## Synopsis
These programs convert all command line arguments to their respective case and
are also Unicode aware.
Provided programs:
* lower
* upper
* titlecase
* len
* eq
* chomp
## Usage
```shell
lower [arguments]
upper [arguments]
titlecase [arguments]
len [arguments]
eq [arguments]
chomp
(consider surrounding command-line arguments in double-quotes to preserve spacing)
```
## Installation
* macOS: `brew update; brew install jftuga/tap/changecase`
* Binaries for Linux, macOS and Windows are provided in the [releases](https://github.com/jftuga/changecase/releases) section.