ownpg 0.1.0

OwnPG serves PostgreSQL DBA tools to AI clients over the Model Context Protocol, one database and one schema per run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
---
source: crates/ownpg/src/cli.rs
expression: normalized
---
===== ownpg =====
OwnPG serves one PostgreSQL database and one schema to an AI client over
the Model Context Protocol, in read-only, write-only, or read-write mode.

With no command, `ownpg` serves over stdio with the default settings.

Usage: ownpg [OPTIONS] [COMMAND]

Commands:
  serve        Serve the database to an MCP client over stdio (the default command)
  doctor       Check the connection and the settings, and report every attempt
  health       Ask a running HTTP server whether it is ready; exit 0 when it is and 1 when it is not
  config       Manage connection profiles and local state
  audit        Work with the audit log
  man          Write the manual page to stdout
  completions  Write a shell completion script to stdout

Options:
  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

EXAMPLES:
  ownpg serve -d app                  serve app.public read-only over stdio
  ownpg serve -d app -s billing -m rw --tools write,transactions
  ownpg doctor -p staging --format json
  ownpg serve --http --auth bearer --bind 127.0.0.1:8765 -d app
  ownpg config init && ownpg config set-password local
  ownpg completions zsh > ~/.zfunc/_ownpg

EXIT CODES:
  0 success   1 runtime failure   2 usage or configuration   4 refused by policy
  5 external failure   130 interrupted   101 a bug

Documentation: https://github.com/devops-infinity/ownpg-releases
  Report a bug: https://github.com/devops-infinity/ownpg-releases/issues/new

===== ownpg serve =====
Serve the database to an MCP client over stdio (the default command)

Usage: ownpg serve [OPTIONS]

Options:
  -p, --profile <NAME>
          Profile to read from the profile file [env: OWNPG_PROFILE]

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -m, --mode <MODE>
          Access mode for this run [env: OWNPG_MODE]
          
          [possible values: read-only, write-only, read-write]

  -q, --quiet
          Only errors on stderr

  -d, --database <NAME>
          Database to serve [env: OWNPG_DATABASE]

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

  -s, --schema <NAME>
          Schema every call is scoped to (default public) [env: OWNPG_SCHEMA]

      --host <HOST>
          Host name, address, or Unix socket directory [env: OWNPG_HOST]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

      --port <PORT>
          TCP port, or the socket file suffix [env: OWNPG_PORT]

  -U, --user <ROLE>
          Role to connect as [env: OWNPG_USER]

      --sslmode <MODE>
          TLS requirement, with the libpq meaning of each value [env: OWNPG_SSLMODE]
          
          [possible values: disable, allow, prefer, require, verify-ca, verify-full]

      --sslrootcert <FILE>
          Root certificate file, or `system` for the platform trust store [env: OWNPG_SSLROOTCERT]

      --tools <GROUPS>
          Extra tool groups to load: write, transactions, ddl, roles, maintenance, monitoring, host
          [env: OWNPG_TOOLS]

      --strict-role
          Refuse to start on a superuser, rds_superuser, or BYPASSRLS role; on by default with
          --http, off otherwise [env: OWNPG_STRICT_ROLE]

      --ssh <[USER@]HOST[:PORT]>
          Reach PostgreSQL through this SSH bastion [env: OWNPG_SSH]

      --ssh-transport <TRANSPORT>
          SSH client: the built-in one, or the system ssh command [env: OWNPG_SSH_TRANSPORT]
          
          [possible values: in-process, system]

      --ssh-trust-new-host
          Record an unknown bastion host key on first use [env: OWNPG_SSH_TRUST_NEW_HOST]

      --no-audit
          Turn the audit log off for this run [env: OWNPG_AUDIT=false]

      --audit-path <FILE>
          Write the audit log here instead of the data directory [env: OWNPG_AUDIT_PATH]

      --pg-bindir <DIR>
          Directory holding pg_dump and the other PostgreSQL programs [env: OWNPG_PG_BINDIR]

      --output-dir <DIR>
          Directory the host-binary tools write files into [env: OWNPG_OUTPUT_DIR]

      --http
          Serve Streamable HTTP instead of stdio

      --bind <ADDR>
          Address to bind in HTTP mode: host:port, a bare address, or :port (default 127.0.0.1:8765)
          [env: OWNPG_BIND]

      --auth <MODE>
          How HTTP clients prove who they are [env: OWNPG_AUTH]
          
          [possible values: none, bearer, oauth]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

EXAMPLES:
  ownpg serve -d app                  stdio, read-only, the public schema
  ownpg serve -d app -m ro --ssh deploy@bastion.example
  ownpg serve --http --auth none --bind 127.0.0.1:8765 -d app
  ownpg serve --http --auth bearer --bind 0.0.0.0:8765 -d app --strict-role

===== ownpg doctor =====
Check the connection and the settings, and report every attempt

Usage: ownpg doctor [OPTIONS]

Options:
  -p, --profile <NAME>
          Profile to read from the profile file [env: OWNPG_PROFILE]

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -m, --mode <MODE>
          Access mode for this run [env: OWNPG_MODE]
          
          [possible values: read-only, write-only, read-write]

  -q, --quiet
          Only errors on stderr

  -d, --database <NAME>
          Database to serve [env: OWNPG_DATABASE]

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

  -s, --schema <NAME>
          Schema every call is scoped to (default public) [env: OWNPG_SCHEMA]

      --host <HOST>
          Host name, address, or Unix socket directory [env: OWNPG_HOST]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

      --port <PORT>
          TCP port, or the socket file suffix [env: OWNPG_PORT]

  -U, --user <ROLE>
          Role to connect as [env: OWNPG_USER]

      --sslmode <MODE>
          TLS requirement, with the libpq meaning of each value [env: OWNPG_SSLMODE]
          
          [possible values: disable, allow, prefer, require, verify-ca, verify-full]

      --sslrootcert <FILE>
          Root certificate file, or `system` for the platform trust store [env: OWNPG_SSLROOTCERT]

      --tools <GROUPS>
          Extra tool groups to load: write, transactions, ddl, roles, maintenance, monitoring, host
          [env: OWNPG_TOOLS]

      --strict-role
          Refuse to start on a superuser, rds_superuser, or BYPASSRLS role; on by default with
          --http, off otherwise [env: OWNPG_STRICT_ROLE]

      --ssh <[USER@]HOST[:PORT]>
          Reach PostgreSQL through this SSH bastion [env: OWNPG_SSH]

      --ssh-transport <TRANSPORT>
          SSH client: the built-in one, or the system ssh command [env: OWNPG_SSH_TRANSPORT]
          
          [possible values: in-process, system]

      --ssh-trust-new-host
          Record an unknown bastion host key on first use [env: OWNPG_SSH_TRUST_NEW_HOST]

      --format <FORMAT>
          Report shape
          
          [default: text]
          [possible values: text, json]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

EXAMPLES:
  ownpg doctor -d app
  ownpg doctor -p staging --format json

===== ownpg health =====
Ask a running HTTP server whether it is ready; exit 0 when it is and 1 when it is not

Usage: ownpg health [OPTIONS]

Options:
      --bind <ADDR>
          Address the server binds: host:port, a bare address, or :port (default 127.0.0.1:8765)
          [env: OWNPG_BIND]

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

      --live
          Only check that the process answers, not that PostgreSQL and the audit log are ready

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --timeout <SECONDS>
          Give up after this many seconds
          
          [default: 5]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

EXAMPLES:
  ownpg health                        ask the server on OWNPG_BIND or 127.0.0.1:8765
  ownpg health --bind :9000 --live    only check that the process answers

===== ownpg config =====
Manage connection profiles and local state

Usage: ownpg config [OPTIONS] <COMMAND>

Commands:
  show                  Print every setting with the layer it came from; secrets show as `set`
  path                  Print the profile file path and the data and log directories
  init                  Write an example profile file
  set-password          Store a profile's password in the platform keychain, read without echo
  unset-password        Remove a profile's password from the platform keychain
  set-ssh-passphrase    Store a profile's SSH key passphrase in the platform keychain, read without
                        echo
  unset-ssh-passphrase  Remove a profile's SSH key passphrase from the platform keychain

Options:
  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

EXAMPLES:
  ownpg config path
  ownpg config init --dry-run         print the starter profile file
  ownpg config show -p staging --format json
  ownpg config set-password staging   read the password from the terminal or stdin

===== ownpg config show =====
Print every setting with the layer it came from; secrets show as `set`

Usage: ownpg config show [OPTIONS]

Options:
  -p, --profile <NAME>
          Profile to read from the profile file [env: OWNPG_PROFILE]

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -m, --mode <MODE>
          Access mode for this run [env: OWNPG_MODE]
          
          [possible values: read-only, write-only, read-write]

  -q, --quiet
          Only errors on stderr

  -d, --database <NAME>
          Database to serve [env: OWNPG_DATABASE]

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

  -s, --schema <NAME>
          Schema every call is scoped to (default public) [env: OWNPG_SCHEMA]

      --host <HOST>
          Host name, address, or Unix socket directory [env: OWNPG_HOST]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

      --port <PORT>
          TCP port, or the socket file suffix [env: OWNPG_PORT]

  -U, --user <ROLE>
          Role to connect as [env: OWNPG_USER]

      --sslmode <MODE>
          TLS requirement, with the libpq meaning of each value [env: OWNPG_SSLMODE]
          
          [possible values: disable, allow, prefer, require, verify-ca, verify-full]

      --sslrootcert <FILE>
          Root certificate file, or `system` for the platform trust store [env: OWNPG_SSLROOTCERT]

      --tools <GROUPS>
          Extra tool groups to load: write, transactions, ddl, roles, maintenance, monitoring, host
          [env: OWNPG_TOOLS]

      --strict-role
          Refuse to start on a superuser, rds_superuser, or BYPASSRLS role; on by default with
          --http, off otherwise [env: OWNPG_STRICT_ROLE]

      --ssh <[USER@]HOST[:PORT]>
          Reach PostgreSQL through this SSH bastion [env: OWNPG_SSH]

      --ssh-transport <TRANSPORT>
          SSH client: the built-in one, or the system ssh command [env: OWNPG_SSH_TRANSPORT]
          
          [possible values: in-process, system]

      --ssh-trust-new-host
          Record an unknown bastion host key on first use [env: OWNPG_SSH_TRUST_NEW_HOST]

      --format <FORMAT>
          Report shape
          
          [default: text]
          [possible values: text, json]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg config path =====
Print the profile file path and the data and log directories

Usage: ownpg config path [OPTIONS]

Options:
      --format <FORMAT>
          Report shape
          
          [default: text]
          [possible values: text, json]

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg config init =====
Write an example profile file

Usage: ownpg config init [OPTIONS]

Options:
      --force
          Replace a profile file that already exists

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

      --dry-run
          Print the file to stdout instead of writing it

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg config set-password =====
Store a profile's password in the platform keychain, read without echo

Usage: ownpg config set-password [OPTIONS] <PROFILE>

Arguments:
  <PROFILE>
          Profile the password belongs to

Options:
      --dry-run
          Say what would change without touching the keychain or the file

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg config unset-password =====
Remove a profile's password from the platform keychain

Usage: ownpg config unset-password [OPTIONS] <PROFILE>

Arguments:
  <PROFILE>
          Profile whose password is removed

Options:
      --dry-run
          Say what would change without touching the keychain or the file

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg config set-ssh-passphrase =====
Store a profile's SSH key passphrase in the platform keychain, read without echo

Usage: ownpg config set-ssh-passphrase [OPTIONS] <PROFILE>

Arguments:
  <PROFILE>
          Profile whose ssh section uses the key

Options:
      --dry-run
          Say what would change without touching the keychain or the file

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg config unset-ssh-passphrase =====
Remove a profile's SSH key passphrase from the platform keychain

Usage: ownpg config unset-ssh-passphrase [OPTIONS] <PROFILE>

Arguments:
  <PROFILE>
          Profile whose passphrase is removed

Options:
      --dry-run
          Say what would change without touching the keychain or the file

  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg audit =====
Work with the audit log

Usage: ownpg audit [OPTIONS] <COMMAND>

Commands:
  verify  Check that every line of an audit log chains to the one before it

Options:
  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg audit verify =====
Check that every line of an audit log chains to the one before it

Usage: ownpg audit verify [OPTIONS] <FILE>

Arguments:
  <FILE>
          The audit log to check

Options:
  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg man =====
Write the manual page to stdout

Usage: ownpg man [OPTIONS] [COMMAND]...

Arguments:
  [COMMAND]...
          Write the page for one command instead of the whole tool. A nested one is named in full,
          as in `config show`

Options:
  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version

===== ownpg completions =====
Write a shell completion script to stdout

Usage: ownpg completions [OPTIONS] <SHELL>

Arguments:
  <SHELL>
          The shell to generate for
          
          [possible values: bash, elvish, fish, powershell, zsh]

Options:
  -v, --verbose...
          More log detail on stderr; repeat for trace. Composes with RUST_LOG

  -q, --quiet
          Only errors on stderr

      --no-input
          Never prompt; fail instead. Implied by CI=true [env: OWNPG_NO_INPUT]

      --log-format <FORMAT>
          Shape of the log lines on stderr
          
          [default: text]
          [possible values: text, json]

      --log-file <PATH>
          Also write logs to this file, rotated daily with the newest eight files kept. A bare name
          lands under the log directory (see `config path`)

      --config <FILE>
          Profile file to read instead of the one in the config directory
          
          [env: OWNPG_CONFIG]

  -h, --help
          Print help

  -V, --version
          Print version