Writing command line tools made easy
By Tina Müller (tinita) from Berlin.pm, Bicycle.pm
Date: Friday, 1 April 2016 14:30
Duration: 20 minutes
Language: English
Tags: cli completion
You can find more information on the speaker's site:
- Abstract: https://github.com/perlpunk/App-Spec-p5
How to write command line tools with a good user experience
Write a specification and get nested subcommands, option and parameter specification and validation, help, documentation, and advanced shell tab completion.
Good commandline tools
* give good usage error messages
* have good usage output
* have useful shell tab completion
* have good man pages
Your CLI framework should do that work for you, and you should not have to write duplicate code/pod.
I'll show a framework that tries to implement all these things.
Attended by: Leo Mulders (awkward), Richard van Lochem (rvlochem), Søren Lund (slu), Steffen Winkler (STEFFENW), Abe Timmerman (abeltje), Jurgen Hildebrand,