mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-16 21:04:25 +01:00
Move all command line code to `cmd` and move containerd-shim-v2 to pkg. Fixes: #2627 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
20 lines
321 B
Go
20 lines
321 B
Go
// Copyright (c) 2017 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var versionCLICommand = cli.Command{
|
|
Name: "version",
|
|
Usage: "display version details",
|
|
Action: func(context *cli.Context) error {
|
|
cli.VersionPrinter(context)
|
|
return nil
|
|
},
|
|
}
|