ludovicianul / dvt

DeV Tools - Swiss Army Knife of command line utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeV Tools / DVT - The Swiss Army Knife of CLI utilities

dvt aims to bundle all small utilities used by developers (typically a mix of cli and online tools) into one binary that you can simply use in the console. No need for complex pipe-ing, copy-pasting on different sites or keep installing cli utilities for every need.

How to use dvt

➜ dvt  -h

dvt - command line dev tools; version 1.0.1

Usage: dvt [-hV] [COMMAND]
  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.
Commands:
  generate-completion  Generate bash/zsh completion script for dvt.
  base64               Encode/decode strings according to RFC 2045
  case                 Convert strings to different cases
  random               Generate random data based on the supplied data type
  hash                 Perform hashing operations
  jwt                  Verify and decode JWTs
  json                 Manipulate JSON files
  html                 Manipulate HTML files

Installation

Homebrew

brew install ludovicianul/tap/dvt

Manually download binaries

dvt is compiled to native code using GraalVM. Check the release page for binaries (Linux, MacOS, uberjar).

After download, you can make dvt globally available:

sudo cp dvt-macos /usr/local/bin/dvt

The uberjar can be run using java -jar dvt-uberjar. Requires Java 11+.

Autocomplete

Run the following commands to get autocomplete:

dvt generate-completion >> dvt_autocomplete

source dvt_autocomplete

About

DeV Tools - Swiss Army Knife of command line utilities


Languages

Language:Java 65.2%Language:Shell 34.8%