MCPcopy Create free account
hub / github.com/buildpacks/pack / NewStackCommand

Function NewStackCommand

internal/commands/stack.go:9–19  ·  view source on GitHub ↗
(logger logging.Logger)

Source from the content-addressed store, hash-verified

7)
8
9func NewStackCommand(logger logging.Logger) *cobra.Command {
10 command := cobra.Command{
11 Use: "stack",
12 Short: "(deprecated) Interact with stacks",
13 Long: "(Deprecated)\nStacks are deprecated in favor of using BuildImages and RunImages directly, but will continue to be supported throughout all of 2023 and '24 if not longer. Please see our docs for more details- https://buildpacks.io/docs/concepts/components/stack",
14 RunE: nil,
15 }
16
17 command.AddCommand(stackSuggest(logger))
18 return &command
19}

Callers 2

NewPackCommandFunction · 0.92
testStackCommandFunction · 0.85

Calls 1

stackSuggestFunction · 0.85

Tested by 1

testStackCommandFunction · 0.68