snowflakedb/snowflake-cli

SNOW-1170171: `snow procedure init` overwrites files without warning

Closed this issue · 4 comments

SnowCLI version

SnowCLI Version: 0.2.5

Python version

Python 3.11.6

Platform

macOS-14.3.1-arm64-arm-64bit

What happened

I ran snow procedure init in my cwd while I was working on a project, and thought it would create a subdir in my current directory, but it overwrote my requirements.txt

Console output

-

How to reproduce

No response

Would suggest we warn before overwriting.

I installed 2.1.0rc0 and this behavior persists, but also it seems to create an app.toml instead of the new yaml format.

My mistake. An older version of snowcli was on my path. The latest release is actually showing no such command 'procedure'

Found latest version of the command, and it creates a new dir:

(venv) (base) ➜  gdocs-import git:(main) ✗ snow snowpark init
Initialized the new project in example_snowpark/

Will close this out as resolved, thanks!