Liking cljdoc? Tell your friends :D

pg.migration.cli

Command line interface for migrations.

Command line interface for migrations.
raw docstring

-mainclj

(-main & args)
source

CLI-OPT-CREATEclj

source

CLI-OPT-MAINclj

source

CLI-OPT-MIGRATEclj

source

CLI-OPT-ROLLBACKclj

source

CMD_CREATEclj

source

CMD_HELPclj

source

CMD_LISTclj

source

CMD_MIGRATEclj

source

CMD_ROLLBACKclj

source

CMDSclj

source

CONFIG-FIELDSclj

source

CONFIG-NAMEclj

source

current-userclj

(current-user _)
source

edn-readersclj

source

error!cljmacro

(error! template & args)
source

exitclj

(exit code)
(exit code message)
(exit code message & args)

Terminate a program with a given status code and an error message. The message gets sent to either stdout or stderr depending on the status code.

Terminate a program with a given status code
and an error message. The message gets sent to either
stdout or stderr depending on the status code.
sourceraw docstring

handle-createclj

(handle-create config cmd-args)

Handle the create sub-command.

Handle the `create` sub-command.
sourceraw docstring

handle-helpclj

(handle-help summary)
source

handle-listclj

(handle-list config cmd-args)

Handle the list sub-command.

Handle the `list` sub-command.
sourceraw docstring

handle-migrateclj

(handle-migrate config cmd-args)

Handle the migrate sub-command.

Handle the `migrate` sub-command.
sourceraw docstring

handle-rollbackclj

(handle-rollback config cmd-args)

Handle the rollback sub-command.

Handle the `rollback` sub-command.
sourceraw docstring

handle-unknown-cmdclj

(handle-unknown-cmd cmd)
source

mainclj

(main args & more)

A more convenient version of -main that accepts a vector of args plus extra args.

A more convenient version of -main that accepts
a vector of args plus extra args.
sourceraw docstring

OPT-HELPclj

source

parse-argsclj

(parse-args args cli-opt)

A strict version of parse-opts that renders errors and terminates the program.

A strict version of `parse-opts` that renders errors
and terminates the program.
sourceraw docstring

parse-configclj

(parse-config path)
source

parse-intclj

(parse-int string)
source

path->configclj

(path->config path)
source

path-exists?clj

(path-exists? path)
source

render-errosclj

(render-erros errors)

Print CLI-related error messages.

Print CLI-related error messages.
sourceraw docstring

render-summaryclj

(render-summary summary)
source

with-exitcljmacro

(with-exit & body)

A macro that prevents terminating JVM in favour of throwing an exception.

A macro that prevents terminating JVM
in favour of throwing an exception.
sourceraw docstring

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

× close