You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: verifystarlark.go
    path of file: ./repos/grafana/pkg/build/cmd
    
    the code of the file until where you have to start completion: package main

import (
	"context"
	"errors"
	"fmt"
	"io/fs"
	"os/exec"
	"path/filepath"
	"strings"

	"github.com/urfave/cli/v2"
)

func mapSlice[I any, O any](a []I, f func(I) O) []O {
	o := make([]O, len(a))
	for i, e := range a {
		o[i] = f(e)
	}
	return o
}

// VerifyStarlark is the CLI Action for verifying Starlark files in a workspace.
// It expects a single context argument which is the path to the workspace.
// The actual verification procedure can return multiple errors which are
// j
    
func VerifyStarlark(c *cli.Context) error {
	if c.NArg() != 1 {
		var message string
		if c.NArg() == 0 {
			message = "ERROR: missing required argument <workspace path>"
		}
		if c.NArg() > 1 {
			message = "ERROR: too many arguments"
		}

		if err := cli.ShowSubcommandHelp(c); err != nil {
			return err
		}

		return cli.Exit(message, 1)
	}

	workspace := c.Args().Get(0)
	verificationErrs, executionErr := verifyStarlark(c.Context, workspace, buildifierLintCommand)
	if executionErr != nil {
		return executionErr
	}

	if len(verificationErrs) == 0 {
		return nil
	}

	noun := "file"
	if len(verificationErrs) > 1 {
		noun += "s"
	}

	return fmt.Errorf("verification failed for %d %s:\n%s",
		len(verificationErrs),
		noun,
		strings.Join(
			mapSlice(verificationErrs, func(e error) string { return e.Error() }),
			"\n",
		))
}