Liking cljdoc? Tell your friends :D

pallet.script-builder

Build scripts with prologues, epilogues, etc, and command lines for running them in different environments

Build scripts with prologues, epilogues, etc, and command lines for
running them in different environments
raw docstring

build-codeclj

(build-code session
            {:keys [default-script-prefix script-context script-dir script-env
                    script-env-fwd script-prefix sudo-user]
             :as action}
            &
            args)

Builds a code map, describing the command to execute a script.

Builds a code map, describing the command to execute a script.
sourceraw docstring

build-scriptclj

(build-script {:keys [language version interpreter interpreter-args]
               :or {language :bash}
               :as options}
              script
              {:keys [script-dir script-trace script-hash]
               :or {script-hash true}
               :as action})

Builds a script. The script is wrapped in a shell script to set up the working directory (and possibly environment variables in the future).

Builds a script. The script is wrapped in a shell script to set
up the working directory (and possibly environment variables in the
future).
sourceraw docstring

epilogclj

source

interpretercljmultimethod

The interprester used to run a script.

The interprester used to run a script.
sourceraw docstring

normalise-sudo-optionsclj

(normalise-sudo-options user action)

Ensure that a :sudo-user specified in the action trumps a :no-sudo specified in the admin user.

Ensure that a :sudo-user specified in the action trumps a :no-sudo
specified in the admin user.
sourceraw docstring

prefixcljmultimethod

The executable used to prefix the interpreter (eg. sudo, chroot, etc).

The executable used to prefix the interpreter (eg. sudo, chroot, etc).
sourceraw docstring

prologclj

(prolog)
source

sudo-cmd-forclj

(sudo-cmd-for {:keys [no-sudo password sudo-user sudo-password username]
               :as user})

Construct a sudo command prefix for the specified user.

Construct a sudo command prefix for the specified user.
sourceraw docstring

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

× close