{"modulePath":"github.com/hyperhq/hypercli","version":"v1.10.16","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package command\n\n## Types\n\n```go\ntype EventHandler interface {\n\tHandle(action string, h func(eventtypes.Message))\n\tWatch(c \u003c-chan eventtypes.Message)\n}\n```\nEventHandler is abstract interface for user to customize own handle functions of each type of events\n\n```go\nfunc InitEventHandler() EventHandler\n```\nInitEventHandler initializes and returns an EventHandler\n\n","path":"github.com/hyperhq/hypercli/cli/command","name":"command","synopsis":"","isRedistributable":true}
