mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| sttr | https://github.com/abhimanyu003/sttr | sttr: A cross-platform, cli app to perform various operations on string |
To update or switch versions, run webi sttr@stable (or @v0.2.16 etc).
Files
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/sttr
Cheat Sheet
sttrmakes it easy to perform various operations on string.
Basic Usage
- After installation simply run
sttrcommand.
// For interactive menu
sttr
// Provide your input
// Press two enter to open operation menu
// Press `/` to filter various operations.
// Can also press UP-Down arrows select various operations.
- Working with help.
sttr -h
// Example
sttr zeropad -h
sttr md5 -h
- Working with files input.
sttr {command-name} {filename}
sttr base64-encode image.jpg
sttr md5 file.txt
sttr md-html Readme.md
- Writing output to file.
sttr yaml-json file.yaml > file-output.json
- Taking input from other command.
curl https: //jsonplaceholder.typicode.com/users | sttr json-yaml
- Chaining the different processor.
sttr md5 hello | sttr base64-encode
echo "Hello World" | sttr base64-encode | sttr md5