Timeline for Are there any “helper” scripts to assist with loading/overriding command arguments?
Current License: CC BY-SA 4.0
        2 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 22, 2020 at 21:08 | comment | added | bubla | What you describe is a little bit dirty, as it changes the generated code. It would be cleaner to have sourcing of sub.confin the user section of the script, and have something like_arg_user=${_arg_user:-$user}to assign value ofuserto_arg_userif the latter is empty, i.e. not used on the command-line. Aside from that, Argbash supports default values. | |
| Jun 13, 2019 at 14:12 | history | answered | WhiskerBiscuit | CC BY-SA 4.0 |