pack add-stack
allows a user to add a custom stack to the config.toml #34
Closed
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