/
root.go
32 lines (26 loc) · 1.01 KB
/
root.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package cmd
import (
"github.com/spf13/cobra"
)
var (
// Used for flags.
rootCmd = &cobra.Command{
Use: "cedana",
Short: "simple criu dump/restore client",
Long: `________ _______ ________ ________ ________ ________
|\ ____\|\ ___ \ |\ ___ \|\ __ \|\ ___ \|\ __ \
\ \ \___|\ \ __/|\ \ \_|\ \ \ \|\ \ \ \\ \ \ \ \|\ \
\ \ \ \ \ \_|/_\ \ \ \\ \ \ __ \ \ \\ \ \ \ __ \
\ \ \____\ \ \_|\ \ \ \_\\ \ \ \ \ \ \ \\ \ \ \ \ \ \
\ \_______\ \_______\ \_______\ \__\ \__\ \__\\ \__\ \__\ \__\
\|_______|\|_______|\|_______|\|__|\|__|\|__| \|__|\|__|\|__|
` + "\n Instance Brokerage, Orchestration and Migration System." +
"\n Property of Cedana, Corp.",
}
)
func Execute() error {
return rootCmd.Execute()
}
func init() {
cobra.OnInitialize()
}