bake: replace list-targets and list-variables flags with list=<type>

also put this flag out of experimental

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-01-09 10:36:49 +01:00
parent 883806524a
commit a41fc81796
3 changed files with 38 additions and 21 deletions

View File

@ -1504,7 +1504,7 @@ target "abc" {
out, err := bakeCmd(
sb,
withDir(dir),
withArgs("--list-targets"),
withArgs("--list=targets"),
)
require.NoError(t, err, out)
@ -1533,7 +1533,7 @@ target "default" {
out, err := bakeCmd(
sb,
withDir(dir),
withArgs("--list-variables"),
withArgs("--list=variables"),
)
require.NoError(t, err, out)