Skip to content

pack add-stack allows a user to add a custom stack to the config.toml #34

Closed
@ssisil

Description

WHEN I run pack add-stack my.custom.stack --run-image my-org/run --build-image my-org/build
THEN a stack will be added to the config.toml file in the following format
AND return the following message to the user "<stack ID> successfully added."

[[stacks]]
id = “my.custom.stack”
run-images = ["my-org/run" ]
build-images = ["my-org/build"]

Note

  • Can accept multiple run and build images by specifying -r and-b multiple times
  • -r is shorthand for --run-image
  • -b is shorthand for --build-image
  • If stack ID already exists - return a message stating "<stack ID> already exists, please run update-stack to make updates" and then fail

Metadata

Assignees

Labels

size/smSmall level of effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions