matejak / argbash

Bash argument parsing code generator
Other
1.39k stars 63 forks source link

Calculate default value at run time? #180

Open sebastiancarlos opened 1 year ago

sebastiancarlos commented 1 year ago

Would it be possible to have a default value that is calculated at run time? Say that I want to have an option like this:

  -o, --os      Specify the OS and version (default: autodetected [Debian-11])