* WIP on auto-generating CLi * WIP * WIP * WIP * add pagination.go * handle more flag types * WIP on refactoring * WIP * working tests * add docs * echo all flags * add repeated tests * remove comment * fix compositeListValue issue Co-authored-by: Anil Kumar Kammari <anil@vitwit.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
21 lines
440 B
Go
21 lines
440 B
Go
package cli
|
|
|
|
import (
|
|
"context"
|
|
|
|
"google.golang.org/grpc"
|
|
|
|
"github.com/cosmos/cosmos-sdk/client/v2/cli/flag"
|
|
)
|
|
|
|
// Builder manages options for building CLI commands.
|
|
type Builder struct {
|
|
|
|
// flag.Builder embeds the flag builder and its options.
|
|
flag.Builder
|
|
|
|
// GetClientConn specifies how CLI commands will resolve a grpc.ClientConnInterface
|
|
// from a given context.
|
|
GetClientConn func(context.Context) grpc.ClientConnInterface
|
|
}
|