cli

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Flags for Model.
	FlagVID                                        = "vid"
	FlagPID                                        = "pid"
	FlagDeviceTypeID                               = "deviceTypeID"
	FlagProductName                                = "productName"
	FlagProductNameShortcut                        = "n"
	FlagProductLabel                               = "productLabel"
	FlagProductLabelShortcut                       = "d"
	FlagPartNumber                                 = "partNumber"
	FlagCommissioningCustomFlow                    = "commissioningCustomFlow"
	FlagCommissioningCustomFlowURL                 = "commissioningCustomFlowURL"
	FlagCommissioningModeInitialStepsHint          = "commissioningModeInitialStepsHint"
	FlagCommissioningModeInitialStepsInstruction   = "commissioningModeInitialStepsInstruction"
	FlagCommissioningModeSecondaryStepsHint        = "commissioningModeSecondaryStepsHint"
	FlagCommissioningModeSecondaryStepsInstruction = "commissioningModeSecondaryStepsInstruction"
	FlagUserManualURL                              = "userManualURL"
	FlagSupportURL                                 = "supportURL"
	FlagProductURL                                 = "productURL"

	// Flags for Model Software Version.
	FlagSoftwareVersion              = "softwareVersion"
	FlagSoftwareVersionShortcut      = "v"
	FlagSoftwareVersionString        = "softwareVersionString"
	FlagCDVersionNumber              = "cdVersionNumber"
	FlagFirmwareDigests              = "firmwareDigests"
	FlagSoftwareVersionValid         = "softwareVersionValid"
	FlagOtaURL                       = "otaURL"
	FlagOtaFileSize                  = "otaFileSize"
	FlagOtaChecksum                  = "otaChecksum"
	FlagOtaChecksumType              = "otaChecksumType"
	FlagMinApplicableSoftwareVersion = "minApplicableSoftwareVersion"
	FlagMaxApplicableSoftwareVersion = "maxApplicableSoftwareVersion"
	FlagReleaseNotesURL              = "releaseNotesURL"
)

Variables

This section is empty.

Functions

func GetCmdAddModel

func GetCmdAddModel(cdc *codec.Codec) *cobra.Command

func GetCmdAddModelVersion

func GetCmdAddModelVersion(cdc *codec.Codec) *cobra.Command

func GetCmdAllModelVersions

func GetCmdAllModelVersions(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdAllModels

func GetCmdAllModels(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdDeleteModel

func GetCmdDeleteModel(cdc *codec.Codec) *cobra.Command

func GetCmdModel

func GetCmdModel(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdModelVersion

func GetCmdModelVersion(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdUpdateModel

func GetCmdUpdateModel(cdc *codec.Codec) *cobra.Command

func GetCmdUpdateModelVersion

func GetCmdUpdateModelVersion(cdc *codec.Codec) *cobra.Command

func GetCmdVendorModels

func GetCmdVendorModels(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdVendors

func GetCmdVendors(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetQueryCmd

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

func GetTxCmd

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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