Skip to content

DeV Tools - Swiss Army Knife of command line utilities

Notifications You must be signed in to change notification settings

ludovicianul/dvt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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