Script library for abstracting target host script differences
Script library for abstracting target host script differences
(env & {:keys [vars]})
Setup an environment for another cmd. Vars is a map of name and value pairs.
Setup an environment for another cmd. Vars is a map of name and value pairs.
(env-var-pairs vars)
Return a sequence of name=var strings for the given vars
map.
Return a sequence of name=var strings for the given `vars` map.
(has-command? arg)
Check whether the specified command is on the path
Check whether the specified command is on the path
(install-package name & options)
Install the specified package.
Install the specified package.
(list-installed-packages & options)
List the installed packages
List the installed packages
(make-temp-dir pattern & {:as options})
Create a temporary directory
Create a temporary directory
(mkdir directory & {:keys [path verbose mode]})
Create the specified directory
Create the specified directory
(normalise-md5 file)
Normalise an md5 sum file to contain the base filename
Normalise an md5 sum file to contain the base filename
(path-group path)
Return the group of the given path
Return the group of the given path
(path-mode path)
Return the mode of the given path
Return the mode of the given path
(path-owner path)
Return the owner of the given path
Return the owner of the given path
(purge-package name & options)
Uninstall the specified package, removing the configuration files if possible.
Uninstall the specified package, removing the configuration files if possible.
(remove-package name & options)
Uninstall the specified package, leaving the configuration files if possible.
Uninstall the specified package, leaving the configuration files if possible.
(rmdir directory & {:as options})
Remove the specified directory
Remove the specified directory
(selinux-bool flag value & {:keys [persist]})
Set the selinux boolean value
Set the selinux boolean value
(selinux-file-type path type)
Set the selinux file type
Set the selinux file type
(update-package-list & options)
Update the list of packages available to the package manager from the declared package sources.
Update the list of packages available to the package manager from the declared package sources.
(upgrade-all-packages & options)
Upgrade the all installed package.
Upgrade the all installed package.
(upgrade-package name & options)
Upgrade the specified package.
Upgrade the specified package.
(user-default-group user)
Return the user's default group
Return the user's default group
(wait-while test-expr standoff max-retries waiting-msg failed-msg)
Returns a script expression that waits while test-expr is successful, using a constant standoff (in seconds) and max-retries.
Returns a script expression that waits while test-expr is successful, using a constant standoff (in seconds) and max-retries.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close