{"modulePath":"github.com/function61/edgerouter","version":"v0.0.0-20260305111458-5d50e7ec169e","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package erservercli\n\nEmbeddable CLI for Edgerouter server library. Think calling \"yourapp proxy ...\" and all subcommands are routed to Edgerouter-provided subcommands.\n\n## Functions\n\n```go\nfunc Entrypoint(opts Options) *cobra.Command\n```\nsuppose you embed Edgerouter in application called \"bob\". it is assumed that you'll assign top-level subcommand name e.g. \"proxy\" for Edgerouter inside bob. hence commands to edgerouter will start with \"bob proxy\".\n\n## Types\n\n```go\ntype Options struct {\n\tServiceName    string\n\tSubcommandName string\n}\n```\n\n```go\nfunc (o Options) ConfigDir() erserver.ConfigDir\n```\n\n","path":"github.com/function61/edgerouter/pkg/erservercli","name":"erservercli","synopsis":"Embeddable CLI for Edgerouter server library.","isRedistributable":true}
