Metadata-Version: 2.1
Name: snowctl
Version: 1.0.4
Summary: A cli tool for automating tasks in Snowflake Database
Home-page: https://github.com/Rouhija/snowflake-cli
Author: Sami Rouhe
Author-email: rouhesami@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: snowflake-connector-python

# Description
A cli tool for automating tasks in Snowflake Database. Mainly for copying views with column filtering at the moment.

### Installation
```sh
pip install snowctl
```

### Usage
Run in interactive mode (prompts for configuration on the first run)
```sh
snowctl
```

Optional arguments
```
usage: snowctl [-h] [-d] [-s] [-c] [-e]

optional arguments:
  -h, --help           show this help message and exit
  -d, --debug          log to console
  -s, --safe           ask for confirmation before executing any operations
  -c, --configuration  re-input configuration values
  -e, --echo           echo configuration values
```

### Commands
| CMD | ACTION |
|---------|---------|
| **help** | Display help |
| **use** database/schema/warehouse name | change context |
| **copy views** | copy views across schemas |
| **copy views filter** | copy views across schemas with column filtering |
| **show views** | show views in current context |
| **sql** query | execute sql query |
| **exit** | Exit |

