Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContractCmd = &cobra.Command{ Use: config.TranslateInLang(contractCmdUses, config.UILanguage), Short: config.TranslateInLang(contractCmdShorts, config.UILanguage), }
ContractCmd represents the contract command
View Source
var ContractCompileCmd = &cobra.Command{ Use: config.TranslateInLang(contractCompileCmdUses, config.UILanguage), Short: config.TranslateInLang(contractCompileCmdShorts, config.UILanguage), Args: cobra.MinimumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { cmd.SilenceUsage = true err := compile(args) return output.PrintError(err) }, }
ContractCompileCmd represents the contract compile command
View Source
var ContractPrepareCmd = &cobra.Command{ Use: config.TranslateInLang(prepareCmdUses, config.UILanguage), Short: config.TranslateInLang(prepareCmdShorts, config.UILanguage), Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { cmd.SilenceUsage = true err := prepare() return err }, }
ContractPrepareCmd represents the contract prepare command
View Source
var (
ErrInvalidArg = errors.New("invalid argument")
)
ErrInvalidArg indicates argument is invalid
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.