Merge pull request #2076 from crazy-max/bake-display-files

bake: display read definition files in build output
This commit is contained in:
CrazyMax
2023-10-24 01:56:05 -07:00
committed by GitHub
5 changed files with 142 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ func Disable(cmd *cobra.Command, args []string, toComplete string) ([]string, co
func BakeTargets(files []string) ValidArgsFn {
return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
f, err := bake.ReadLocalFiles(files, nil)
f, err := bake.ReadLocalFiles(files, nil, nil)
if err != nil {
return nil, cobra.ShellCompDirectiveError
}