cosmossdk.io/client/v2@v2.0.0-beta.1/internal/flags/flags.go (about)

     1  package flags
     2  
     3  // This defines flag names that can be used in autocli.
     4  const (
     5  	// FlagFrom is the flag to set the from address with which to sign the transaction.
     6  	FlagFrom = "from"
     7  
     8  	// FlagOutput is the flag to set the output format.
     9  	FlagOutput = "output"
    10  
    11  	// FlagNoIndent is the flag to not indent the output.
    12  	FlagNoIndent = "no-indent"
    13  )
    14  
    15  // List of supported output formats
    16  const (
    17  	OutputFormatJSON = "json"
    18  	OutputFormatText = "text"
    19  )