# flytekitplugins.dbt.util

## Directory

### Methods

| Method | Description |
|-|-|
| [`run_cli()`](#run_cli) | Execute a CLI command in a subprocess. |

## Methods

#### run_cli()

```python
def run_cli(
    cmd: typing.List[str],
) -> (<class 'int'>, typing.List[str])
```
Execute a CLI command in a subprocess

Parameters
----------
cmd : list of str
    Command to be executed.

Returns
-------
int
    Command's exit code.
list of str
    Logs produced by the command execution.

| Parameter | Type | Description |
|-|-|-|
| `cmd` | `typing.List[str]` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/plugins/dbt/flytekitplugins.dbt.util.md
**HTML**: https://www.union.ai/docs/v1/flyte/api-reference/plugins/dbt/flytekitplugins.dbt.util/
