https://github.com/crflynn/soh
Sleight-of-hand (soh) CLI tool
https://github.com/crflynn/soh
Last synced: 2 months ago
JSON representation
Sleight-of-hand (soh) CLI tool
- Host: GitHub
- URL: https://github.com/crflynn/soh
- Owner: crflynn
- License: mit
- Created: 2019-04-12T00:02:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-27T22:43:02.000Z (about 2 years ago)
- Last Synced: 2025-03-28T23:43:25.547Z (3 months ago)
- Language: Rust
- Size: 168 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# soh (sleight-of-hand)

Sleight of hand, or `soh`, is a command line tool that handles a lot of common tasks for developers. For the most part, it offers a convenient command line interface to a lot of standard library operations, such as base64 encoding, creating datetime strings, fetching system information, uuid generation, etc.
## Installation
To install `soh`, run ``brew install crflynn/formula/soh``
## Usage
The entry point for all commands is
```bash
$ soh
soh (sleight-of-hand) 0.2.0
Sleight of hand CLI commands.(+) indicates subcommand group. Use `soh -c` to copy output
of subcommand to clipboard.USAGE:
soh [FLAGS] [SUBCOMMAND]FLAGS:
-c, --clip Copy output of subcommand to clipboard
-h, --help Prints help information
-s, --suppress Suppress console output of subcommand
-V, --version Prints version informationSUBCOMMANDS:
b64 (+) Base64 encode/decode
create (+) Create files
dt (+) Datetimes
epoch (+) Epoch time
help Prints this message or the help of the given subcommand(s)
secret (+) Generate secrets
sys (+) System information
uuid Generate UUIDs
version Show soh version
```To get help on any command use the ``-h`` or ``--help`` flag.
```bash
$ soh uuid -h
soh-uuid 0.2.0
Generate UUIDsUSAGE:
soh uuid [FLAGS] [OPTIONS]FLAGS:
-h, --help Prints help information
-u, --upper To upper caseOPTIONS:
-n, --name UUID v3/5 name
-s, --namespace UUID v3/5 namespace (dns, oid, url, or x500)
-v, --version UUID version (1, 3, 4, 5) default 4
```To copy the execution output of most commands to clipboard, use the `-c` or `--clip` command.
```bash
$ soh -c uuid
c64af300-8895-4dff-b005-15dcd4c72f24 (copied to clipboard 📋)
```