func InspectChain(cmd *cobra.Command, args []string) { IfExit(ArgCheck(1, "ge", cmd, args)) do.Name = args[0] if len(args) == 1 { do.Args = []string{"all"} } else { do.Args = []string{args[1]} } IfExit(chns.InspectChain(do)) }
func InspectChain(cmd *cobra.Command, args []string) { // [csk]: if no args should we just start the checkedout chain? IfExit(ArgCheck(1, "ge", cmd, args)) do.Name = args[0] if len(args) == 1 { do.Args = []string{"all"} } else { do.Args = []string{args[1]} } IfExit(chns.InspectChain(do)) }