Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagChainID = "chain-id" FlagNode = "node" FlagHeight = "height" FlagTrustNode = "trust-node" FlagName = "name" FlagSequence = "sequence" FlagFee = "fee" FlagPrivKey = "priv-key" FlagPubKey = "pub-key" // Account FlagIsFollow = "is-follow" FlagFollowee = "followee" FlagFollower = "follower" FlagSender = "sender" FlagReceiver = "receiver" FlagAmount = "amount" FlagMemo = "memo" // Developer FlagDeveloper = "developer" FlagDeposit = "deposit" FlagWebsite = "website" FlagDescription = "description" FlagAppMeta = "appmeta" FlagUser = "user" FlagReferrer = "referrer" FlagSeconds = "seconds" FlagPermission = "permission" FlagGrantAmount = "grant-amount" // Infra FlagProvider = "provider" FlagUsage = "usage" // Post FlagDonator = "donator" FlagLikeUser = "likeUser" FlagWeight = "weight" FlagAuthor = "author" FlagPostID = "post-ID" FlagTitle = "title" FlagContent = "content" FlagParentAuthor = "parent-author" FlagParentPostID = "parent-post-ID" FlagSourceAuthor = "source-author" FlagSourcePostID = "source-post-ID" FlagRedistributionSplitRate = "redistribution-split-rate" // Vote FlagVoter = "voter" FlagProposalID = "proposal-id" FlagResult = "result" FlagLink = "link" )
nolint
Variables ¶
LineBreak can be included in a command list to provide a blank line to help with readability
Functions ¶
func GetCommands ¶
GetCommands adds common flags to query commands
func NewCoreContextFromViper ¶
func NewCoreContextFromViper() core.CoreContext
func PostCommands ¶
PostCommands adds common flags for commands to post tx
func PrintIndent ¶
func PrintIndent(inputs ...interface{}) error
Types ¶
Click to show internal directories.
Click to hide internal directories.