ttoy

command module
v0.0.0-...-73525b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 9 Imported by: 0

README

ttoy

NAME:
   ttoy - terminal dev toys

USAGE:
   ttoy  [command [command options]] [arguments...]

COMMANDS:
   json       format json or convert json to yaml, toml and so on
   yaml       convert yaml to json, toml and so on
   toml       convert toml to json, yaml and so on
   xml, html  format xml/html or convert to markdown
   encode     encode url, html and so on
   decode     decode url, html and so on
   hash       generate hashes
   uuid       generate uuid

Examples

Formaters
echo '{"name":"Tom", "age":27}' | ttoy json

or

cat test.json | ttoy json

or

ttoy json << EOF
{"name":"Tom",
"age":27}
EOF

or just

ttoy json

then a tui will appear to take inputs

Converters
echo '{"name":"Tom", "age":27}' | ttoy json toml
Encoders/Decoders
echo 'example.com/pet?name=tom&age=27' | ttoy encode url 
Generaters
ttoy uuid

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
svg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL