dex

command module
v0.0.0-...-39615a4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

dex

CLI version of dex, the chemical compound to treat engineering workplace ADHD

What

dex is a command line tool which is made up of collection of scripts. dex provides access to other command line tools that are written in golang. dex starts bunch of docker containers.

everything dex does you can do on command line as bash script.

think of dex as shortcuts, time saving scripts. I do not like typing long command line arguments or try to remember what they are.

I use Cobra to structure commands and subcommands.

Why

there is no particular reason to use dex. however, I have seen bash scripts becoming really hard to maintain. you can write python script to do the same thing as dex. My experience with python is that as you add more functionality you required the users to install more depedent libraries. dex is written in go which means it's a single static binary file you can share with anyone.

How to use dex

typing command name without any arguments will show help for that command.

$ dex [command]
Current list of functionality
  • dilbert - Shows today's dilbert comic
  • docker - Docker automation
  • generate - Generates autocomplete scripts
  • gitlog - Git log with flattned view and formatting
  • help - Help about any command
  • imgcat - Renders image from local path on iTerm terminal
  • mdcat - Markdown automation
  • mysql - Runs mysql client
  • psql - Runs psql client
  • redis - Runs redis server locally
  • redis-cli - Runs redis client
  • resolve - Resolves container ip by container name
  • siege - Runs siege*

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
img
net
osw

Jump to

Keyboard shortcuts

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