Skip to content

jadenlemmon/handler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
img
 
 
 
 

Logo

Small collection of handy commands to make your life easier.

Conventional Commits

Summary

I based these commands on daily workflow commands I run during development. Mostly related to Git and Docker. PR's are welcome.

Setup

// Download and extract
// OSX
curl -L https://github.com/jadenlemmon/handler/tarball/master | tar xvz --strip-components=2 '*handler'

// Linux
curl -L https://github.com/jadenlemmon/handler/tarball/master | tar xvz --strip-components=2 --wildcards '*handler'

// Place in Path
mv handler /usr/local/bin

Commands

  Git
  cm      Clears all local branches merged into checkout out branch
  u       Updates current branch in repo from origin and installs JS/PHP dependencies

  Docker
  dk      Kills all running Docker containers
  drs     Removes all stopped Docker containers
  ddi     Removes all dangling Docker images
  di      Removes all Docker images
  dp      Purges all Docker containers, images, and volumes - Nuclear option

  Docker Compose
  dc      Docker compose
  dcu     Docker compose up
  dcd     Docker compose down

  Misc
  fp      Kill processes running on a specific port

  AWS
  iip     Get instance IP from name
  cu      Get current aws iam user
  skc     Set the kube config from eks cluster

  K8
  kc      Get current K8 context
  kcs     Get available K8 contexts

About

💻 Small collection of handy commands to make your life easier.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages