Back
parse-args (clj)
(source)function
(parse-args args)
Parses arguments to `process` to map with:
* `:prev`: a (previous) process whose input is piped into the current process
* `:cmd`: a vector of command line argument strings
* `:opts`: options map
Note that this function bridges the legacy `[cmds ?opts]` syntax to
the newer recommended syntax `[?opts & args]` and therefore looks
unnecessarily complex.