Skip to content

Commit 823dea7

Browse files
authored
update README with current usage (#26)
1 parent 8254183 commit 823dea7

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,25 @@ Usage:
6565
baton-postgresql [command]
6666
6767
Available Commands:
68+
capabilities Get connector capabilities
6869
completion Generate the autocompletion script for the specified shell
6970
help Help about any command
7071
7172
Flags:
72-
--dsn string The connection string for the PostgreSQL database ($BATON_DSN)
73-
example: postgres://username:password@localhost:5432/database_name
74-
-f, --file string The path to the c1z file to sync with ($BATON_FILE) (default "sync.c1z")
75-
-h, --help help for baton-postgresql
76-
--log-format string The output format for logs: json, console ($BATON_LOG_FORMAT) (default "json")
77-
--log-level string The log level: debug, info, warn, error ($BATON_LOG_LEVEL) (default "info")
78-
--schemas strings The schemas to include in the sync. ($BATON_SCHEMAS)
79-
This defaults to 'public' only. (default [public])
80-
-v, --version version for baton-postgresql
73+
--client-id string The client ID used to authenticate with ConductorOne ($BATON_CLIENT_ID)
74+
--client-secret string The client secret used to authenticate with ConductorOne ($BATON_CLIENT_SECRET)
75+
--dsn string required: The DSN to connect to the database ($BATON_DSN)
76+
-f, --file string The path to the c1z file to sync with ($BATON_FILE) (default "sync.c1z")
77+
-h, --help help for baton-postgresql
78+
--include-columns Include column privileges when syncing. This can result in large amounts of data ($BATON_INCLUDE_COLUMNS)
79+
--include-large-objects Include large objects when syncing. This can result in large amounts of data ($BATON_INCLUDE_LARGE_OBJECTS)
80+
--log-format string The output format for logs: json, console ($BATON_LOG_FORMAT) (default "json")
81+
--log-level string The log level: debug, info, warn, error ($BATON_LOG_LEVEL) (default "info")
82+
-p, --provisioning This must be set in order for provisioning actions to be enabled ($BATON_PROVISIONING)
83+
--schemas strings The schemas to include in the sync ($BATON_SCHEMAS) (default [public])
84+
--skip-full-sync This must be set to skip a full sync ($BATON_SKIP_FULL_SYNC)
85+
--ticketing This must be set to enable ticketing support ($BATON_TICKETING)
86+
-v, --version version for baton-postgresql
8187
8288
Use "baton-postgresql [command] --help" for more information about a command.
8389
```

0 commit comments

Comments
 (0)