Versions in this module Expand all Collapse all v0 v0.0.1 Jul 30, 2022 Changes in this version + func Prepare(root *cobra.Command) + type Run struct + func (*Run) GetArgs() cobra.PositionalArgs + func (*Run) GetDescription() string + func (*Run) GetLongDescription() string + func (*Run) GetRequiredFlags() []string + func (*Run) Info() string + func (*Run) Run() RunCmd + func (*Run) SetFlags(flags *pflag.FlagSet) + type RunCmd func(cmd *cobra.Command, args []string) + type Server struct + func (*Server) GetArgs() cobra.PositionalArgs + func (*Server) GetDescription() string + func (*Server) GetLongDescription() string + func (*Server) GetRequiredFlags() []string + func (*Server) Info() string + func (*Server) ServeHTTP(rw http.ResponseWriter, req *http.Request) + func (*Server) SetFlags(f *pflag.FlagSet) + func (s *Server) Run() RunCmd