(handle-command-line-args & args)
Handles a list of arguments provided to the application. When arguments
matches commands, this function will perform them and return true
in order
to indicate that a command was handled by it. Otherwise, false
is returned.
Commands handled by this function are:
When args is empty, defaults to clojure.core/command-line-args.
Handles a list of arguments provided to the application. When arguments matches commands, this function will perform them and return `true` in order to indicate that a command was handled by it. Otherwise, `false` is returned. Commands handled by this function are: - create-migration NAME: Creates a new migration with NAME as its identifier - db-migrate: Executes all pending migrations in the configured database - db-rollback: Reverts the last applied migration - db-rollback VERSION: Reverts all migrations after VERSION - db-migration-status: Prints a table listing all migrations and their statuses When args is empty, defaults to clojure.core/*command-line-args*.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close