// list known func ListKnownServices() { if err := srv.ListKnown(do); err != nil { return } fmt.Println(do.Result) }
// list known func ListKnownServices(cmd *cobra.Command, args []string) { if err := srv.ListKnown(do); err != nil { return } fmt.Println(do.Result) }
func ListAllKnown() { if err := srv.ListKnown(do); err != nil { return } fmt.Printf("Services:\n%s \n\n", do.Result) if err := chns.ListKnown(do); err != nil { return } fmt.Printf("Chains:\n%s \n", do.Result) }