Liking cljdoc? Tell your friends :D

bluegenes-tool-store.tools


-mainclj

(-main cmd & args)

This main function is for managing tools from the command line via the leiningen lein tools alias.

This main function is for managing tools from the command line via the
leiningen `lein tools` alias.
raw docstring

force-initialise-toolsclj

(force-initialise-tools)

Forcibly initialises the tool config, installing the latest version of all official tools regardless of what is currently installed.

Forcibly initialises the tool config, installing the latest version of all
official tools regardless of what is currently installed.
raw docstring

get-all-npm-toolsclj

(get-all-npm-tools)

Send an HTTP request to the NPMJS API to get a list of bluegenes tools.

Send an HTTP request to the NPMJS API to get a list of bluegenes tools.
raw docstring

get-all-toolsclj

(get-all-tools)

Return list of tools as a REST response to our GET.

Return list of tools as a REST response to our GET.
raw docstring

get-tools-pathclj

(get-tools-path)

Respond with tool path.

Respond with tool path.
raw docstring

initialise-toolsclj

(initialise-tools)

Checks for tools config and initialises one if it doesn't exist.

Checks for tools config and initialises one if it doesn't exist.
raw docstring

install-all-npm-toolsclj

(install-all-npm-tools)

Install all bluegenes tools from the NPM registry.

Install all bluegenes tools from the NPM registry.
raw docstring

install-toolclj

Takes a request to install one or more tools.

Takes a request to install one or more tools.
raw docstring

installed-tools-listclj

(installed-tools-list)

Return a list of the installed tools in the tools config file.

Return a list of the installed tools in the tools config file.
raw docstring

package-operationclj

(package-operation operation package+)

Perform a package install or uninstall operation on package+ which can be a single package name or a collection of multiple. Returns an error response if a different package-operation is already in progress. On success it will return a response with the new tool list.

Perform a package install or uninstall `operation` on `package+` which can
be a single package name or a collection of multiple. Returns an error
response if a different package-operation is already in progress.
On success it will return a response with the new tool list.
raw docstring

parse-toolclj

(parse-tool tool-name)

check tool folder for config and other relevant files and return as a map of useful info. This is used client-side by the browser to load tools relevant for a given report page. A valid tool needs to have the following:

  • package.json
  • config.json
  • dist/bundle.js
check tool folder for config and other relevant files and return as
a map of useful info. This is used client-side by the browser to
load tools relevant for a given report page.
A valid tool needs to have the following:
- package.json
- config.json
- dist/bundle.js
raw docstring

tools-configclj

Path to the tools config file.

Path to the tools config file.
raw docstring

tools-list-resclj

(tools-list-res)

Create response containing the list of tools along with their parsed data.

Create response containing the list of tools along with their parsed data.
raw docstring

tools-pathclj

Path to the tools directory containing the config file and packages.

Path to the tools directory containing the config file and packages.
raw docstring

uninstall-toolclj

Takes a request to uninstall a tool.

Takes a request to uninstall a tool.
raw docstring

update-toolsclj

Takes a request to update a list of tools.

Takes a request to update a list of tools.
raw docstring

verify-package-paramsclj

(verify-package-params f)

Helper to wrap API functions to check for validity of package parameters.

Helper to wrap API functions to check for validity of package parameters.
raw docstring

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

× close