Slide 1

Slide 1 text

iPipeTo An interactive cli workflow https://github.com/ruyadorno/ipt

Slide 2

Slide 2 text

Ruy Adorno @ruyadorno http://ruyadorno.com ! "

Slide 3

Slide 3 text

The Command-line interface • Command-line interfaces are often preferred by more advanced computer users, as they often provide a more concise and powerful means to control a program or operating system. • Programs with command-line interfaces are generally easier to automate via scripting.

Slide 4

Slide 4 text

The Command-line interface • Lack/loss of context awareness

Slide 5

Slide 5 text

Inquirer.js • A collection of common interactive command line user interfaces

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Initial implementations

Slide 8

Slide 8 text

grunt-menu

Slide 9

Slide 9 text

git-bc

Slide 10

Slide 10 text

ntl

Slide 11

Slide 11 text

• All very specific • Not really modular or reusable

Slide 12

Slide 12 text

Unix Pipes Commands can be composed together using Unix standard output and input

Slide 13

Slide 13 text

Introducing: iPipeTo • Takes a list of items from the standard input • Builds an interactive menu using Inquirer.js • Allows for user to manually filter items • Outputs selected item(s) to the standard output

Slide 14

Slide 14 text

Go get it Install it using npm:

Slide 15

Slide 15 text

Demo time

Slide 16

Slide 16 text

Using pipes to send selected value to next command

Slide 17

Slide 17 text

Using the multiple choices option

Slide 18

Slide 18 text

Using file as input data

Slide 19

Slide 19 text

Using the copy to clipboard feature

Slide 20

Slide 20 text

One more thing...

Slide 21

Slide 21 text

Workflow Gallery A showcase of great ideas for aliases/functions

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

That's it! Thank you very much,
 for more info visit: https://github.com/ ruyadorno/ipt http://ruyadorno.com ! "