SNOW-1170171: `snow procedure init` overwrites files without warning
Closed this issue · 4 comments
sfc-gh-jroes commented
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
sfc-gh-jroes commented
Would suggest we warn before overwriting.
sfc-gh-jroes commented
I installed 2.1.0rc0 and this behavior persists, but also it seems to create an app.toml instead of the new yaml format.
sfc-gh-jroes commented
My mistake. An older version of snowcli was on my path. The latest release is actually showing no such command 'procedure'
sfc-gh-jroes commented
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!