Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1759502: Snow git add prompt parameter options #1774

Open
kameshsampath opened this issue Oct 23, 2024 · 2 comments
Open

SNOW-1759502: Snow git add prompt parameter options #1774

kameshsampath opened this issue Oct 23, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kameshsampath
Copy link

Description

Currently snow git setup prompts for the Repo URL, GH Secret and API Integration. As developer I would like them to be passed via --<option> to the snow git setup command.

Context

It will make it easier to automate the script of setting up when options are added.

@github-actions github-actions bot changed the title Snow git add prompt parameter options SNOW-1759502: Snow git add prompt parameter options Oct 23, 2024
@sfc-gh-jsikorski sfc-gh-jsikorski added the enhancement New feature or request label Oct 29, 2024
@sfc-gh-pjob
Copy link
Contributor

@kameshsampath What are the use cases for options in snow git setup? It's rather one time action per repo. Can I ask you to write a few words how automation of it can help developers?

@kameshsampath
Copy link
Author

@kameshsampath What are the use cases for options in snow git setup? It's rather one time action per repo. Can I ask you to write a few words how automation of it can help developers?

@sfc-gh-pjob If you are using Snow CLI in a GH Action and want to setup the Git Integration using GH Action params then you would do something like

snow git setup my_git --repo-url="$MY_GH_REPO" --api-integration="$MY_API_INT" --secret="$MY_GH_TOKEN"

With the current way the snow git setup will wait for user response.

Does this help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants