Add checkpoint commands to client

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-09 17:03:53 -08:00
parent 585be1254f
commit 21259f7fec
3 changed files with 127 additions and 11 deletions

View file

@ -35,6 +35,7 @@ func main() {
}
app.Commands = []cli.Command{
ContainersCommand,
CheckpointCommand,
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {
@ -48,6 +49,6 @@ func main() {
}
func fatal(err string, code int) {
fmt.Fprintf(os.Stderr, "[ctr] %s", err)
fmt.Fprintf(os.Stderr, "[ctr] %s\n", err)
os.Exit(code)
}