[HN Gopher] Docopt.sh - Command-Line Argument Parser for Bash 3....
___________________________________________________________________
Docopt.sh - Command-Line Argument Parser for Bash 3.2, 4, and 5
Author : stefankuehnel
Score : 42 points
Date : 2023-03-16 18:46 UTC (4 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| gdevenyi wrote:
| https://argbash.dev/
| trehans wrote:
| Seems like an interesting way of doing it. Why generate the
| argument configuration from the documentation rather than
| generating the documentation from the argument configuration?
| Where there some pain points you wanted to solve from `getopt`,
| etc.?
| Diti wrote:
| For those looking for a similar project in Zsh, it is built-in
| into the shell - search for `zparseopts` in `man zshmodules`.
___________________________________________________________________
(page generated 2023-03-16 23:00 UTC)