Command line¶
Open the interface¶
Running pqsetup without a subcommand starts the local interface.
pqsetup
pqsetup serve --host 127.0.0.1 --port 8888
pqsetup serve --no-browser
The server only accepts 127.0.0.1 or localhost.
Inspect the environment¶
pqsetup doctor
pqsetup doctor --json
doctor exits with 0 when PQ is found and 1 when it is not found.
Validate an input¶
pqsetup validate run.in
pqsetup validate --json run.in
Exit status:
Status |
Meaning |
|---|---|
|
Available checks passed |
|
Local or PQ validation reported an invalid input |
|
PQ validation could not run because of an explicit configuration or probe error |
Select a PQ executable¶
The global option works before the subcommand:
pqsetup --pq-executable /opt/pq/bin/PQ doctor
pqsetup --pq-executable /opt/pq/bin/PQ validate run.in
pqsetup --pq-executable /opt/pq/bin/PQ serve
PQSetup resolves the executable in this order:
--pq-executablethe saved PQSetup configuration
PQ_EXECUTABLEPQorpqonPATHa nearby PQ development build, when present
The saved configuration lives at $XDG_CONFIG_HOME/pqsetup/config.json, or
~/.config/pqsetup/config.json when XDG_CONFIG_HOME is unset.
Version¶
pqsetup --version