Skip to content

Flags_QueryFlags

ratranqu edited this page Apr 26, 2021 · 2 revisions

Flags.QueryFlags

public struct QueryFlags: ParsableArguments 

Inheritance

ParsableArguments

Initializers

init()

public init() 

Properties

node

@Option(help: "<host>:<port> to Tendermint RPC interface for this chain")
        public var node: NodeURL = .init()!

height

@Option(help: "Use a specific height to query state at (this can error if the node is pruning state)")
        public var height: Int = 0

output

@Option(name: .shortAndLong, help: "Output format (text|json)")
        public var output: OutputFormat = .text

chainId

@Option(help: "The network chain ID")
        public var chainId: String
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally