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

Modern Command Line

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for Amjith Amjith
October 22, 2015

Modern Command Line

Command line tools with modern features such as auto-completion, syntax highlighting and sane defaults.

Avatar for Amjith

Amjith

October 22, 2015
Tweet

More Decks by Amjith

Other Decks in Programming

Transcript

  1. INSTALLATION • Python: • pip install pgcli • pip install

    mycli • Brew: • brew install pgcli • brew install mycli
  2. MODERN CLI • ptpython: https://github.com/jonathanslenders/ptpython/ • pgcli: https://github.com/dbcli/pgcli/ • mycli:

    https://github.com/dbcli/mycli/ • wharfee: https://github.com/j-bennet/wharfee • saws: https://github.com/donnemartin/saws • pyvim: https://github.com/jonathanslenders/pyvim
  3. PROMPT TOOLKIT • CLI toolkit with auto-completion. • Github: https://github.com/jonathanslenders/python-prompt-toolkit

    • Examples: https://github.com/jonathanslenders/python-prompt- toolkit/tree/master/examples • Tutorial: https://github.com/jonathanslenders/python-prompt- toolkit/tree/master/examples/tutorial • Docs: http://python-prompt-toolkit.readthedocs.org/en/latest/
  4. FUZZY FINDER • Fuzzy find library. • https://github.com/amjith/fuzzyfinder • Blog:

    http://blog.amjith.com/fuzzyfinder-in-10-lines- of-python • Docs: http://fuzzyfinder.readthedocs.org/en/latest/
  5. CLICK • Command line arguments builder. • CLI helper methods

    (colored output, pager etc). • http://click.pocoo.org/
  6. CONTACT • Twitter: @amjithr • Email: [email protected] • Gitter: •

    https://gitter.im/dbcli/pgcli • https://gitter.im/dbcli/mycli