Merge pull request #2900 from crazy-max/bake-list-flag

bake: replace --list-targets and --list-variables flags with --list flag
This commit is contained in:
Tõnis Tiigi
2025-01-10 07:59:28 -08:00
committed by GitHub
4 changed files with 137 additions and 35 deletions

View File

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