Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Command Line Interface

The Command Line Interface

Building a useful and pleasant command line experience is easy. If you've never really tried adding a command line interface (CLI) to your python scripts or maybe you still have a bitter taste in your mouth from the days of sys.argv, getopt, optparse, and argparse.

I invite you to take another look ... or your first look at command line interfaces and how easy and useful it is for your progress and sanity.

Comparing Begins, DocOpt, and Click

https://www.pytexas.org/2014/talks/65/

Eloy Zuniga Jr.

October 04, 2014
Tweet

More Decks by Eloy Zuniga Jr.

Other Decks in Programming

Transcript

  1. Begins DocOpt Click Least configuration! Somewhat robust! Intuitive Some configuration!

    Least robust! Intuitive Some configuration! Most robust! Intuitive
  2. 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