Liking cljdoc? Tell your friends :D

org.ozias.cljlibs.shell.shell


cmd->sshcmdclj

(cmd->sshcmd target & sshopts)

Given a target, evaluates to a function that takes a command vector as an argument.

If the target is not a localhost target, ["ssh" target] will be prepended to the command vector.

Given a target, evaluates to a function that takes a command vector
as an argument.

If the target is not a localhost target, ["ssh" target] will be
prepended to the command vector.
raw docstring

shell-cmdclj

(shell-cmd cmdv
           &
           {:keys [basedir out err buffer verbose s] :or {verbose true s true}})

Execute the given shell command.

cmdv should be a vector of strings representing the command you wish to execute. ["ls" "-al"]

If basedir is supplied, the command will be run in that directory.

Execute the given shell command.

cmdv should be a vector of strings representing
the command you wish to execute.
["ls" "-al"]

If basedir is supplied, the command will be run in that directory.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close