containerd/cmd/containerd/config.go
Michael Crosby a6e77432df Create server package for containerd daemon
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-22 13:08:19 -07:00

23 lines
388 B
Go

package main
import (
"os"
"github.com/urfave/cli"
)
var configCommand = cli.Command{
Name: "config",
Usage: "information on the containerd config",
Subcommands: []cli.Command{
{
Name: "default",
Usage: "see the output of the default config",
Action: func(context *cli.Context) error {
_, err := defaultConfig().WriteTo(os.Stdout)
return err
},
},
},
}