3 ms·
Ah yes, that section. Hahaha -- fair point. Readable: maybe. Elegant? No. Bash is far from elegant =P
by gavinray 5y ago
Ah yes, that section.
Hahaha -- fair point. Readable: maybe. Elegant? No. Bash is far from elegant =P
- mdpye 5y agoI would add a variable ENDPOINT, initialised to "" and set to " --endpoint $THEENDPOINTVALUE" if the endpoint value was passed. Then include that in every invocation? Sorry if I missed something in the logic, reading on my phone, but from the comment, this feels like something I do frequently...