Talking more about the --port config file. The following all serve a similar purpose, but only one should ever be passed at the same time: - `--port`, human-readable port option to listen on localhost - `LISTEN_FD`, Systemd's socket forwarder - `PORT`, generic port forwarding
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Which takes precedence in your opinion?
-
flags, env vars, defaults
End of conversation
New conversation -
-
-
env vars can make clis tricky tho. all of a sudden the command is not self describing anymore as it relies on outside variables. there are of course plenty of use cases still.
-
Plus I’m unsure when you need to prefix env vars
- 1 more reply
New conversation -
-
-
I wish there was a standard, built-in cli arg parser in OSes so we wouldn’t need to guess which implementation something uses
-
Like `getopt`?
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.