Liking cljdoc? Tell your friends :D
Clojure only.

datahike.pg.main

Standalone CLI entrypoint for pg-datahike. Two subcommands:

serve (default) — boot a pgwire server. See serve --help. dump — dump a pg-datahike database as portable PostgreSQL SQL. Output replays into either pg-datahike or real PostgreSQL via psql. See dump --help.

Usage: java -jar pg-datahike-VERSION-standalone.jar [serve] [SERVE-OPTS] java -jar pg-datahike-VERSION-standalone.jar dump [DUMP-OPTS]

The default subcommand is serve (so the existing java -jar pg-datahike.jar --port 5432 invocation keeps working without explicitly typing serve).

Standalone CLI entrypoint for pg-datahike. Two subcommands:

  serve  (default) — boot a pgwire server. See `serve --help`.
  dump   — dump a pg-datahike database as portable PostgreSQL
           SQL. Output replays into either pg-datahike or real
           PostgreSQL via psql. See `dump --help`.

Usage:
  java -jar pg-datahike-VERSION-standalone.jar [serve] [SERVE-OPTS]
  java -jar pg-datahike-VERSION-standalone.jar dump [DUMP-OPTS]

The default subcommand is `serve` (so the existing
`java -jar pg-datahike.jar --port 5432` invocation keeps working
without explicitly typing `serve`).
raw docstring

-mainclj

(-main & args)

Subcommand dispatch. First positional arg is the subcommand (serve / dump). Everything else passes to the subcommand parser. For backward-compat, an unrecognised first arg is treated as a serve flag (so existing --port 5432 invocations still work).

Subcommand dispatch. First positional arg is the subcommand
(serve / dump). Everything else passes to the subcommand parser.
For backward-compat, an unrecognised first arg is treated as a
serve flag (so existing `--port 5432` invocations still work).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close