Execute actions.
Execute actions.
(clean-logs user)
Clean passwords from logs
Clean passwords from logs
(clear-target-flag session flag)
Clear flag for target.
Clear flag for target.
(log-script-output server user)
Return a function to log (multi-line) script output, removing passwords.
Return a function to log (multi-line) script output, removing passwords.
(normalise-eol s)
Convert eol into platform specific value
Convert eol into platform specific value
(parse-flag-values output)
Parse flags with values from the output stream of an action.
Parse flags with values from the output stream of an action.
(parse-flags output)
Parse flags from the output stream of an action.
Parse flags from the output stream of an action.
(parse-shell-result session {:keys [out] :as result})
Sets the :flags key in a shell result map for any flags set by an action.
Sets the :flags key in a shell result map for any flags set by an action.
(result-with-error-map server msg {:keys [exit] :as result})
Verify the return code of a script execution, and add an error map if there is a non-zero result :exit
Verify the return code of a script execution, and add an error map if there is a non-zero result :exit
(script-error-map server msg result)
Create an error map for a script execution
Create an error map for a script execution
(set-target-flag-values session flag-values)
Set flag values for target.
Set flag values for target.
(set-target-flags session flags)
Set flags for target.
Set flags for target.
(status-lines lines)
Return script status lines from the given sequence of lines.
Return script status lines from the given sequence of lines.
(strip-sudo-password s user)
Elides the user's password or sudo-password from the given script output.
Elides the user's password or sudo-password from the given script output.
(target-flag-value session flag)
Get flag value for target.
Get flag value for target.
(target-flag? flag)
(target-flag? session flag)
Predicate to test if the specified flag is set for target.
Predicate to test if the specified flag is set for target.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close