Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snowflakedb/snowflake-cli
Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations.
https://github.com/snowflakedb/snowflake-cli
cli data-ops devops-tools snowflake sql
Last synced: 3 months ago
JSON representation
Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations.
- Host: GitHub
- URL: https://github.com/snowflakedb/snowflake-cli
- Owner: snowflakedb
- License: apache-2.0
- Created: 2022-08-16T16:37:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T04:50:01.000Z (7 months ago)
- Last Synced: 2024-04-24T06:05:21.931Z (7 months ago)
- Topics: cli, data-ops, devops-tools, snowflake, sql
- Language: Python
- Homepage: https://docs.snowflake.com/developer-guide/snowflake-cli-v2/index
- Size: 62.3 MB
- Stars: 143
- Watchers: 17
- Forks: 48
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
[![Code quality checks](https://github.com/snowflakedb/snowflake-cli/actions/workflows/lint.yaml/badge.svg)](https://github.com/snowflakedb/snowflake-cli/actions/workflows/lint.yaml)
[![Integration testing](https://github.com/snowflakedb/snowflake-cli/actions/workflows/integration_test.yaml/badge.svg)](https://github.com/snowflakedb/snowflake-cli/actions/workflows/integration_test.yaml)
[![CLI Action testing](https://github.com/snowflakedb/snowflake-cli/actions/workflows/test_cli_action.yaml/badge.svg?branch=main)](https://github.com/snowflakedb/snowflake-cli/actions/workflows/test_cli_action.yaml)[//]: # ([![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-311/))
# Snowflake CLI
Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations. It is a flexible and extensible tool that can accommodate modern development practices and technologies.
With Snowflake CLI, developers can create, manage, update, and view apps running on Snowflake across workloads such as Streamlit in Snowflake, the Snowflake Native App Framework, Snowpark Container Services, and Snowpark. It supports a range of Snowflake features, including user-defined functions, stored procedures, Streamlit in Snowflake, and SQL execution.
**Note**: Snowflake CLI is in Public Preview (PuPr).
Docs: https://docs.snowflake.com/en/developer-guide/snowflake-cli-v2/index.
Quick start: https://quickstarts.snowflake.com/guide/getting-started-with-snowflake-cli
Cheatsheet: https://github.com/Snowflake-Labs/sf-cheatsheets/blob/main/snowflake-cli.md
## Install Snowflake CLI
### Install with pipx (PyPi)
We recommend installing Snowflake CLI in isolated environment using [pipx](https://pipx.pypa.io/stable/). Requires Python >= 3.10
```bash
pipx install snowflake-cli-labs
snow --help
```### Install with Homebrew (Mac only)
Requires [Homebrew](https://brew.sh/).
```bash
brew tap snowflakedb/snowflake-cli
brew install snowflake-cli
snow --help
```### Install from source
Requires Python >= 3.10 and git
```bash
git clone https://github.com/snowflakedb/snowflake-cli
cd snowflake-cli
# you can also do the below in an active virtual environment:
# python -m venv .venv
# source .venv/bin/activate
hatch build && pip install .
snow --version
```You should now be able to run `snow` and get the CLI message.
## Get involved
Have a feature idea? Running into a bug? Want to contribute? We'd love to hear from you!
Please open or review issues, open pull requests, or reach out to us on [email protected]