Skip to content

Chore: Simplify the output of the info command#3409

Merged
izeigerman merged 1 commit intomainfrom
chore-simplify-info-output
Nov 21, 2024
Merged

Chore: Simplify the output of the info command#3409
izeigerman merged 1 commit intomainfrom
chore-simplify-info-output

Conversation

@izeigerman
Copy link
Contributor

Only print the connection config when in verbose model.

Default output:

$ sqlmesh info
`physical_schema_override` is deprecated. Please use `physical_schema_mapping` instead
Models: 17
Macros: 6
Data warehouse connection succeeded

Verbose:

$ sqlmesh info -v
Models: 17
Macros: 6

Connection:
  type: duckdb
  concurrent_tasks: 1
  register_comments: true
  pre_ping: false
  extensions: []
  connector_config: {}

Test Connection:
  type: duckdb
  concurrent_tasks: 1
  register_comments: true
  pre_ping: false
  extensions: []
  connector_config: {}

Data warehouse connection succeeded

Skip connection:

$ sqlmesh info --skip-connection
Models: 17
Macros: 6

@izeigerman izeigerman merged commit 489b121 into main Nov 21, 2024
@izeigerman izeigerman deleted the chore-simplify-info-output branch November 21, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants