Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cmd/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Examples:
install, _ := cmd.Flags().GetBool("install")
deploy, _ := cmd.Flags().GetBool("deploy")
ci, _ := cmd.Flags().GetBool("ci")
tag, _ := cmd.Flags().GetString("tag")
description, _ := cmd.Flags().GetString("description")

if err := bundler.Bundle(bundler.BundleContext{
Context: ctx,
Expand Down Expand Up @@ -71,6 +73,12 @@ Examples:
if deploymentId != "" {
args = append(args, "--deploymentId", deploymentId)
}
if tag != "" {
args = append(args, "--tag", tag)
}
if description != "" {
args = append(args, "--description", description)
}
flags := []string{
"log-level",
"api-url",
Expand Down Expand Up @@ -138,6 +146,8 @@ func init() {
bundleCmd.Flags().BoolP("install", "i", false, "Whether to install dependencies before bundling")
bundleCmd.Flags().Bool("deploy", false, "Whether to deploy after bundling")
bundleCmd.Flags().String("deploymentId", "", "Used to track a specific deployment")
bundleCmd.Flags().String("tag", "", "Used to set the tag of the deployment")
bundleCmd.Flags().String("description", "", "Used to set the description of the deployment")
bundleCmd.Flags().MarkHidden("deploymentId")
bundleCmd.Flags().Bool("ci", false, "Used to track a specific CI job")
bundleCmd.Flags().MarkHidden("ci")
Expand Down
Loading