Skip to content

Commit

Permalink
feat: filter groups
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Oct 15, 2024
1 parent b9c675c commit 4f04daf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Empty file added docs/features/filter-groups.md
Empty file.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.6

require (
github.com/aws/aws-sdk-go v1.54.20
github.com/ekristen/libnuke v0.19.2
github.com/ekristen/libnuke v0.20.0
github.com/fatih/color v1.17.0
github.com/golang/mock v1.6.0
github.com/google/uuid v1.6.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ github.com/ekristen/libnuke v0.19.1 h1:n52PMccQjs4MsaYPtulavxmKyHFq4xz3KCy6mpjoX
github.com/ekristen/libnuke v0.19.1/go.mod h1:riI1tjCf6r+et/9oUBd1vQeFmn2Sn6UeFUR0nWkMeYw=
github.com/ekristen/libnuke v0.19.2 h1:dlmqeHBHaQN+gv6Cg7+DwehpayocAABTYzSaTmaP6Pk=
github.com/ekristen/libnuke v0.19.2/go.mod h1:DIN5VmrH6AUwaXc25RHcH/V+JKALdl16CN9iJvFtbK4=
github.com/ekristen/libnuke v0.20.0 h1:GV6ebfPt3ac+5ygto3hdIH5PN9ppXPAAJo7C00ngOCI=
github.com/ekristen/libnuke v0.20.0/go.mod h1:DIN5VmrH6AUwaXc25RHcH/V+JKALdl16CN9iJvFtbK4=
github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
Expand Down
4 changes: 4 additions & 0 deletions pkg/commands/nuke/nuke.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ func execute(c *cli.Context) error { //nolint:funlen,gocyclo
if slices.Contains(c.StringSlice("feature-flag"), "wait-on-dependencies") {
params.WaitOnDependencies = true
}

if slices.Contains(c.StringSlice("feature-flag"), "filter-groups") {
params.UseFilterGroups = true
}
}

// Parse the user supplied configuration file to pass in part to configure the nuke process.
Expand Down

0 comments on commit 4f04daf

Please sign in to comment.