internal/cli/stack/stack.go

Summary

Maintainability
A
35 mins
Test Coverage

Function delete has 5 return statements (exceeds 4 allowed).
Open

func delete(cmd *kingpin.Cmd) {
    c := cmd.Command("delete", "Delete configured resources.")
    c.Example(`up stack delete`, "Delete stack with confirmation prompt.")
    c.Example(`up stack delete --force`, "Delete stack without confirmation prompt.")
    c.Example(`up stack delete --async`, "Don't wait for deletion to complete.")
Severity: Major
Found in internal/cli/stack/stack.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status