32 - Life is too short for shell scripting!/ClipID:12902 previous clip next clip

The automatic subtitles generated using Whisper Open AI in this video player (and in the Multistream video player) are provided for convenience and accessibility purposes. However, please note that accuracy and interpretation may vary. For more information, please refer to the FAQs (Paragraph 14).
Recording date 2020-03-06

Lecturer

Tina Müller

Via

Free

Language

German

Organisational Unit

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 "Friedrich-Alexander-Universität Erlangen-Nürnberg Zentralbereich"