Skip to content

Commit

Permalink
Update help snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-fcampbell committed Jul 18, 2024
1 parent 4cf7808 commit 6fc7dbf
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions tests/__snapshots__/test_help_messages.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,78 @@
+------------------------------------------------------------------------------+


'''
# ---
# name: test_help_messages[app.events]
'''

Usage: default app events [OPTIONS]

Fetches events for this app from the event table configured in Snowflake.

+- Options --------------------------------------------------------------------+
| --project -p TEXT Path where Snowflake project resides. Defaults to |
| current working directory. |
| --env TEXT String in format of key=value. Overrides variables |
| from env section used for templating. |
| --help -h Show this message and exit. |
+------------------------------------------------------------------------------+
+- Connection configuration ---------------------------------------------------+
| --connection,--environment -c TEXT Name of the connection, as defined |
| in your `config.toml`. Default: |
| `default`. |
| --account,--accountname TEXT Name assigned to your Snowflake |
| account. Overrides the value |
| specified for the connection. |
| --user,--username TEXT Username to connect to Snowflake. |
| Overrides the value specified for |
| the connection. |
| --password TEXT Snowflake password. Overrides the |
| value specified for the |
| connection. |
| --authenticator TEXT Snowflake authenticator. Overrides |
| the value specified for the |
| connection. |
| --private-key-path TEXT Snowflake private key path. |
| Overrides the value specified for |
| the connection. |
| --token-file-path TEXT Path to file with an OAuth token |
| that should be used when |
| connecting to Snowflake |
| --database,--dbname TEXT Database to use. Overrides the |
| value specified for the |
| connection. |
| --schema,--schemaname TEXT Database schema to use. Overrides |
| the value specified for the |
| connection. |
| --role,--rolename TEXT Role to use. Overrides the value |
| specified for the connection. |
| --warehouse TEXT Warehouse to use. Overrides the |
| value specified for the |
| connection. |
| --temporary-connection -x Uses connection defined with |
| command line parameters, instead |
| of one defined in config |
| --mfa-passcode TEXT Token to use for multi-factor |
| authentication (MFA) |
| --enable-diag Run python connector diagnostic |
| test |
| --diag-log-path TEXT Diagnostic report path |
| --diag-allowlist-path TEXT Diagnostic report path to optional |
| allowlist |
+------------------------------------------------------------------------------+
+- Global configuration -------------------------------------------------------+
| --format [TABLE|JSON] Specifies the output format. |
| [default: TABLE] |
| --verbose -v Displays log entries for log levels `info` |
| and higher. |
| --debug Displays log entries for log levels `debug` |
| and higher; debug logs contains additional |
| information. |
| --silent Turns off intermediate output to console. |
+------------------------------------------------------------------------------+


'''
# ---
# name: test_help_messages[app.init]
Expand Down

0 comments on commit 6fc7dbf

Please sign in to comment.