Ipt

ipt

The missing shell interactive workflow.

ipt (pronounced iPipeTo) introduces the missing cli interactive workflow.

It takes any kind of list as an input and uses that list to build an interactive interface to let you select an element from it.

Stop manually dragging your mouse around to copy output data from a terminal, using the ipt workflow you can pipe data from a command and select what to copy to clipboard from a convenient visual menu.

Selected data is also output to stdout allowing for easily composing various workflows - Just create your custom alias!

P.S: Couldn't explain it better than than author!

GET IT: npm install -g ipt

Sample usage:

1
git branch -a | ipt | xargs git checkout
1
git --no-pager log --oneline | ipt | cut -d ' ' -f 1 | xargs -o git rebase -i"

P.S: Don't miss to read the wonderful examples!

GIF FTW!

Thanks to Ruy Adorno for this cheeky module.

Suggest a module

Comments