Skip to content

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

Notifications You must be signed in to change notification settings

jadenlemmon/handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

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