Skip to main content

Life is too short for shell scripting!

by Tina Müller (‎tinita‎) (Berlin.pm, Bicycle.pm)

Life is too short for shell scripting! aimed at Any and is held in Deutsch. This talk starts on 2020-03-06 at 09:55 for 20 minutes. It takes place at the Room 1 united-domains.

You write a bash script. Easy.

Later you add a single command line switch. Ok.

Again, later, you want to add another switch, maybe with a short and long option. Mmh, it gets slightly unreadable.

You want to add subcommands? Option validation? Usage output? Completion? Ugh, no...

I will show you an alternative!

Links:
https://metacpan.org/pod/App::Spec::Bash
(Tested with Bash 3.2.57)
https://github.com/perlpunk/shell-completions


Tags: perl shell

Interest in attending: