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

Add init --unzip #472

Merged
merged 5 commits into from
Feb 10, 2025
Merged

Add init --unzip #472

merged 5 commits into from
Feb 10, 2025

Conversation

fujiwara
Copy link
Owner

@fujiwara fujiwara commented Feb 1, 2025

refs #471

Implements init --unzip.

If --unzip is specified, lambroll downloads a zip archive (same as --download) and extracts it into the directory (--src).

      --function-name=            Function name for init
      --download                  Download function.zip
      --unzip                     Unzip function.zip and delete it
      --src="."                   Source directory for unzipping function.zip
      --jsonnet                   render function.json as jsonnet
      --qualifier=QUALIFIER       function version or alias
      --function-url              create function url definition file
      --force-overwrite           Overwrite existing files without prompting

@fujiwara fujiwara marked this pull request as ready for review February 1, 2025 17:32
@fujiwara fujiwara merged commit 782aced into v1 Feb 10, 2025
6 checks passed
@fujiwara fujiwara deleted the init-unzip-file branch February 10, 2025 15:18
@github-actions github-actions bot mentioned this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant