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: manifest.go
    path of file: ./repos/sealer/cmd/sealer/cmd/alpha
    
    the code of the file until where you have to start completion: // Copyright Â© 2021 Alibaba Group Holding Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package alpha

import (
	"encoding/json"
	"errors"
	"fmt"

	"github.com/containers/common/pkg/auth"
	digest "github
    
func manifestInspectCommand() *cobra.Command {
	inspectCommand := &cobra.Command{
		Use:   "inspect",
		Short: "Display the contents of a manifest list",
		Long:  manifestInspectDescription,
		RunE: func(cmd *cobra.Command, args []string) error {
			var (
				name string
			)
			switch len(args) {
			case 0:
				return errors.New("at least a source list ID must be specified")
			case 1:
				name = args[0]
				if name == "" {
					return fmt.Errorf(`invalid manifest name "%s" `, name)
				}
			default:
				return errors.New("only one argument is necessary for inspect: an manifest name")
			}

			engine, err := imageengine.NewImageEngine(options.EngineGlobalConfigurations{})
			if err != nil {
				return err
			}

			schema2List, err := engine.InspectManifest(name, &inspectManifestOpts)
			if err != nil {
				return err
			}

			b, err := json.MarshalIndent(schema2List, "", "    ")
			if err != nil {
				return err
			}

			fmt.Println(string(b))
			return nil
		},
		Example: `sealer alpha manifest inspect mylist:v1.11`,
		Args:    cobra.MinimumNArgs(1),
	}
	return inspectCommand
}