CLI

Reference documentation for Homechart’s CLI

Arguments

Arguments must be entered before commands.

-c [path]

Path to the JSON/Jsonnet configuration file.

-f [format]

Set log format (human, kv, raw, default: human).

-l [level]

Set minimum log level (none, debug, info, error, default: info).

-n

Disable colored log output.

-p

Disable paging via less.

-x [key=value]

Set config key=value (can be provided multiple times)

Commands

autocomplete

Adds autocomplete for Homechart commands into your terminal:

$ source <(homechart autocomplete)

config

Show the rendered config from all sources (file, environment variables, and command line arguments).

generate-vapid

Generate a private and public key for use with Web Push. See the config docs for more information.

run

Run Homechart server.

seed [output path]

Seed the database with mock data and save the output to as JSON to the output path.

show-config

Print the current configuration as JSON or YAML.

tasks-*

Manually run background maintenance tasks.

version

Print the current version of Homechart.