cli

package
v0.0.0-...-6bfe187 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagOrganizationDescription = "organization-description"
	FlagProductDescription      = "product-description"
	FlagUnitDetails             = "unit-details"
	FlagUnitComponents          = "unit-components"
)

Variables

This section is empty.

Functions

func FlagSetOrganizationDescriptionCreate

func FlagSetOrganizationDescriptionCreate() *flag.FlagSet

func FlagSetProductDescriptionCreate

func FlagSetProductDescriptionCreate() *flag.FlagSet

func FlagSetUnitComponentsCreate

func FlagSetUnitComponentsCreate() *flag.FlagSet

func FlagSetUnitDetailsCreate

func FlagSetUnitDetailsCreate() *flag.FlagSet

func GetCmdAppendOrganization

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

Transactions sent by authority to append new organization

func GetCmdCreateProduct

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

Create a new product from an approved organization

func GetCmdCreateUnit

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

Create a new unit of an existing product

func GetCmdQueryOrganization

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

func GetCmdQueryOrganizations

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

func GetCmdQueryProduct

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

func GetCmdQueryProductUnits

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

func GetCmdQueryUnit

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

func GetCmdQueryUnitComponents

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

func GetCmdQueryUnitTrace

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

func GetCmdReapproveOrganization

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

Reapprove a relegated organization

func GetCmdRelegateOrganization

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

Relegate an organization so it is not authorized to perform actions anymore

func GetCmdTransferUnit

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

Transfer a product unit to a new organization

func GetQueryCmd

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

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

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

GetTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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