A small (slightly pointless) command line utility for converting text to Spongecase
spongecase text to convert
# This will return:
# tExT tO cOnVeRtSimply fetch the binary from the GitHub release, make the binary executable, and add it to your path
E.g.
For Linux on x86:
curl -L -o spc \
"https://github.com/aliktb/spongecase/releases/latest/download/spongecase_linux_amd64"Or for ARM-based Macs:
curl -L -o spc \
"https://github.com/aliktb/spongecase/releases/latest/download/spongecase_darwin_arm64"Tip
Note, the binary is being downloaded as spc to make it easier than using
spongecase in the terminal
This would make the usage as:
spc text to convertNext, simply make the binary executable and move it to your path. E.g.
chmod +x ./spc
# Create bin directory within home directory
mkdir -p ~/.local/bin
# Add this to .bashrc or .zshrc
# This will add the local bin directory to the system path
# for extra info, see https://opensource.com/article/17/6/set-path-linux
export PATH="~/.local/bin:$PATH"
# Move the binary to the newly created local bin directory
mv spc ~/.local/bin