Skip to content

Commit

Permalink
Merge pull request #161 from foomo/fix/pulumi-azure-args
Browse files Browse the repository at this point in the history
fix(pulumi/pulumi): az args
  • Loading branch information
franklinkim authored Dec 3, 2024
2 parents 0717c56 + 5843538 commit 3e4b5b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pulumi/pulumi/azure/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ func NewCommand(l log.Logger, az *az.AZ, op *onepassword.OnePassword, cache cach
Name: "create",
Description: "Create a new object storage backend",
Flags: func(ctx context.Context, r *readline.Readline, fs *readline.FlagSets) error {
fs.Default().String("debug", "", "Show full logs")
fs.Default().String("tags", "", "Quoted string with space-separated tags")
fs.Default().String("vebose", "", "Increase logging verbosity")
fs.Default().Bool("debug", false, "Show full logs")
fs.Default().Bool("vebose", false, "Increase logging verbosity")
fs.Internal().String("group-args", "", "Additional group create args")
fs.Internal().String("storage-args", "", "Additional storaage create args")
return nil
Expand Down Expand Up @@ -129,7 +129,7 @@ func NewCommand(l log.Logger, az *az.AZ, op *onepassword.OnePassword, cache cach
Args("--subscription", be.Subscription).
Args("--location", be.Location).
Args(strings.Split(groupArgs, " ")...).
Args(r.Flags()...).
Args(r.FlagSets().Default().Visited().Args()...).
Run(); err != nil {
return err
}
Expand All @@ -142,7 +142,7 @@ func NewCommand(l log.Logger, az *az.AZ, op *onepassword.OnePassword, cache cach
Args("--subscription", be.Subscription).
Args("--location", be.Location).
Args(strings.Split(storageArgs, " ")...).
Args(r.Flags()...).
Args(r.FlagSets().Default().Visited().Args()...).
Run(); err != nil {
return err
}
Expand Down

0 comments on commit 3e4b5b5

Please sign in to comment.