@zyther/scode-cli
v0.1.0
Published
Command-line interface for encoding and decoding messages with classic ciphers.
Maintainers
Readme
@zyther/scode-cli
Command-line interface for encoding and decoding messages with classic ciphers.
npm install -g @zyther/scode-cliUsage
scd encode "hello world" --pattern "¬"
# → -.-. .... . .-.. .-.. ---
scd decode "-.-. .... . .-.. .-.. ---" --pattern "¬"
# → HELLOWORLD
scd ciphers # list every cipher
scd patterns # show composition examples
scd # interactive modePipes and files
# From a file
scd encode --file message.txt --pattern "?" --out encrypted.txt
scd encode --file message.txt --pattern "?" --config-out config.txt
# Decode with config
scd decode --file encrypted.txt --pattern "?" --config-file config.txt
# Unix pipes
echo "hello" | scd encode --pattern "¬" | scd decode --pattern "¬"Chained patterns
scd encode "meet me at dawn" --pattern "?|"JSON output
For scripts and CI:
scd encode "hello" --pattern "¬" --json
scd ciphers --jsonLicense
MIT © Zyther Dev
