32-Life is too short for shell scripting! previous clip next clip

Recording date 2020-03-06

Lecturer

Tina Müller

Via

Free

Language

German

Faculty

Regionales Rechenzentrum Erlangen (RRZE)

Producer

MultiMediaZentrum

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

Up next

Schloss1
Julien Fiegehenn
2020-03-06
Free
Schloss1
Sören Laird Sörries
2020-03-06
Free

More clips in this category "Computer Science"

2018-06-20
Free
public  
2017-06-02
IdM-login
protected  
2019-04-20
Free
public