Add checkpoint commands to client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
585be1254f
commit
21259f7fec
3 changed files with 127 additions and 11 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue