cli

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBidFilterFlags

func AddBidFilterFlags(flags *pflag.FlagSet)

AddBidFilterFlags add flags to filter for bid list

func AddBidIDFlags

func AddBidIDFlags(flags *pflag.FlagSet)

AddBidIDFlags add flags for bid

func AddLeaseFilterFlags

func AddLeaseFilterFlags(flags *pflag.FlagSet)

AddLeaseFilterFlags add flags to filter for lease list

func AddOrderFilterFlags

func AddOrderFilterFlags(flags *pflag.FlagSet)

AddOrderFilterFlags add flags to filter for order list

func AddOrderIDFlags

func AddOrderIDFlags(flags *pflag.FlagSet)

AddOrderIDFlags add flags for order

func AddQueryBidIDFlags

func AddQueryBidIDFlags(flags *pflag.FlagSet)

AddQueryBidIDFlags add flags for bid in query commands

func BidFiltersFromFlags

func BidFiltersFromFlags(flags *pflag.FlagSet) (types.BidFilters, error)

BidFiltersFromFlags returns BidFilters with given flags and error if occured

func BidIDFromFlags

func BidIDFromFlags(ctx context.CLIContext, flags *pflag.FlagSet) (types.BidID, error)

BidIDFromFlags returns BidID with given flags and error if occured

func BidIDFromFlagsWithoutCtx

func BidIDFromFlagsWithoutCtx(flags *pflag.FlagSet) (types.BidID, error)

BidIDFromFlagsWithoutCtx returns BidID with given flags and error if occurred Here provider value is taken from flags

func GetQueryCmd

func GetQueryCmd(key string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the transaction commands for the market module

func GetTxCmd

func GetTxCmd(key string, cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for market module

func LeaseFiltersFromFlags

func LeaseFiltersFromFlags(flags *pflag.FlagSet) (types.LeaseFilters, error)

LeaseFiltersFromFlags returns LeaseFilters with given flags and error if occured

func MarkReqBidIDFlags

func MarkReqBidIDFlags(cmd *cobra.Command)

MarkReqBidIDFlags marks flags required for bid Used in get bid query command

func MarkReqOrderIDFlags

func MarkReqOrderIDFlags(cmd *cobra.Command)

MarkReqOrderIDFlags marks flags required for order

func OrderFiltersFromFlags

func OrderFiltersFromFlags(flags *pflag.FlagSet) (types.OrderFilters, error)

OrderFiltersFromFlags returns OrderFilters with given flags and error if occured

func OrderIDFromFlags

func OrderIDFromFlags(flags *pflag.FlagSet) (types.OrderID, error)

OrderIDFromFlags returns OrderID with given flags and error if occured

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL