sdt

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT

README

sdt

Smart Developer Tools

Collection of CLI utilities for developers

W.I.P.: Use at your own risk!

The CLI commands receive input data (where provided) from the Standard Input or from an additional parameter without a flag, and output data to the Standard Output.
If an error occurs, the command will be terminated with exit code 1.

Installation with local build

The installation script build the binary directory to your GO /bin directory.

Yout need GO installed on your machine, and assure that the GOPATH/bin directory is exported in your PATH.

export PATH="$(go env GOPATH)/bin:$PATH"

so...

  1. Clone this repository locally
    git clone https://github.com/sandrolain/sdt
    
  2. Run the script install.sh;
    cd ./sdt
    sh ./install.sh
    

Documentation

Auto-generated CLI documentation is available here.

Wishlist

DevOps Wishlist
  • Unit Tests!!!
  • Use UPX
Features Wishlist
  • Color conversion
  • RegExp all matches
  • RegExp replace
  • JQ integration
  • Data conversion between:
  • Template with mustache
  • Data faker
  • Save []string to multiple files
  • WASM web app:
    • Commands selection
    • Input from textarea
    • Input from file
    • Output to textarea
    • Output to file
  • GUI app:
    • Commands selection
    • Input from textarea
    • Input from file
    • Output to textarea
    • Output to file
  • Edit config file
  • Request input from CLI
  • Global --input (file) flag
  • Base 32 encode/decode
  • HTTP request
  • RegEx match
  • Lorem Ipsum
  • QR code generation
  • TOTP
  • CSV to JSON
  • Backslash escape/unsescape
  • String case converter
  • JSON validator
  • Read / Write File
  • JSON minify
  • JSON prettify
  • Bcrypt hash
  • Bcrypt check
  • Hash SHA-384
  • Hash SHA-256
  • Hash sha1
  • Random Bytes
  • UUID v4
  • Base 64 encode/decode
  • URL encode / decode
  • Time unix
  • Time ISO
  • Time UTC
  • JWT validate
  • JWT claims
  • Gzip / Gunzip

External libraries used

Directories

Path Synopsis
cli
cmd

Jump to

Keyboard shortcuts

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