dbt-sugar
Contribute on GitHub
v0.1.0
v0.1.0
  • Introduction
  • Installation & Configuration
    • Installation
    • Configuration
      • Sugar Config
    • Compatibility
  • Commands
    • dbt-sugar bootstrap
      • bootstrap CLI reference (full-list)
    • dbt-sugar audit
      • audit CLI reference (full-list)
    • dbt-sugar doc
      • doc CLI reference (full-list)
    • Global CLI Flags
  • Caveats & Gotchas
    • Things to Know That We Know You Should Know
Powered by GitBook
On this page
  • Version
  • Config Path
  • Profiles Path
  • Log Level & Verbosity

Was this helpful?

  1. Commands

Global CLI Flags

Version

The --version flag returns information about the currently installed version of dbt-sugar.

➜ dbt-sugar --version
  Installed dbt-sugar version: 0.1.0-a.4
         Latest dbt-sugar version: 0.0.0

Config Path

You can override the default location where dbt-sugar expects your sugar_config.yml by passing a path after the --config-path CLI argument like so:

dbt-sugar <command> --config-path path/to/my/sugar_config.yml

Profiles Path

You can override the default location where dbt-sugar expects your dbt profiles.yml by passing a path to the --profiles-path CLI argument like so:

dbt-sugar <command> --profiles-dir path/to/my/dbt/profiles.yml

Log Level & Verbosity

You can choose the level of verbosity of the app in the following ways:

  • --log-level debug will set dbt-sugar's logger to throw debug level messages.

  • -vv/--verbose will make sure that error traceback go back to a lot more levels before the error. If you do not understand the default non-verbose tracebacks or if they do not give you enough information about the bug/error, then --verbose is definitely an option to try.

Previousdoc CLI reference (full-list)NextThings to Know That We Know You Should Know

Last updated 4 years ago

Was this helpful?