Slide 1

Slide 1 text

Command Line Interface Tools to consider when adding a command line interface

Slide 2

Slide 2 text

Easy to add! Easy to maintain! Easy to work with Command Line Interfaces

Slide 3

Slide 3 text

Eloy Zuniga Jr.

Slide 4

Slide 4 text

Eloy Zuñiga Jr. Unicode Test

Slide 5

Slide 5 text

Clinical Decision Support Platform Decisio Health

Slide 6

Slide 6 text

Decisio Dashboard

Slide 7

Slide 7 text

Houston

Slide 8

Slide 8 text

Clinical Decision Support Platform Decisio Health

Slide 9

Slide 9 text

DocOpt April 2012 docstring implementation

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Click April 2014 decorator implementation

Slide 12

Slide 12 text

sys.argv optparse

Slide 13

Slide 13 text

argparse getopt

Slide 14

Slide 14 text

Begins July 2011 decorator implementation

Slide 15

Slide 15 text

How much configuration Entry Points Implementation Subcommands Environment Variables Configuration Variables Type Casting what I want and what it needs

Slide 16

Slide 16 text

Begins DocOpt Click

Slide 17

Slide 17 text

Begins DocOpt Click Least configuration! Somewhat robust! Intuitive Some configuration! Least robust! Intuitive Some configuration! Most robust! Intuitive

Slide 18

Slide 18 text

Begins the help screen

Slide 19

Slide 19 text

DocOpt the help screen

Slide 20

Slide 20 text

Click the help screen

Slide 21

Slide 21 text

Begins passing an argument

Slide 22

Slide 22 text

DocOpt passing an argument

Slide 23

Slide 23 text

Click passing an argument

Slide 24

Slide 24 text

Begins datatype casting

Slide 25

Slide 25 text

Begins datatype casting

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

DocOpt datatype casting

Slide 28

Slide 28 text

Click datatype casting

Slide 29

Slide 29 text

Begins environment variables

Slide 30

Slide 30 text

DocOpt environment variables

Slide 31

Slide 31 text

Click environment variables

Slide 32

Slide 32 text

Begins configuration variables

Slide 33

Slide 33 text

DocOpt configuration variables

Slide 34

Slide 34 text

Click configuration variables

Slide 35

Slide 35 text

Begins subcommands

Slide 36

Slide 36 text

DocOpt https://github.com/docopt/docopt/blob/master/examples/git/git.py subcommands

Slide 37

Slide 37 text

Click subcommands

Slide 38

Slide 38 text

Begins DocOpt Click A command line interface tool that just works and gets out of the way Makes simple command line interfaces via your docstring The most robust with an emphases on making command line scripts just *click* together

Slide 39

Slide 39 text

Eloy Zuniga Jr. http:/ /eloyz.com @eloy