command

package
v1.7.2-beta0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RevertReasonCmd = &cobra.Command{
	Use:   "reason",
	Short: "Revert reason for failed TX.",
	Long:  `Given a failed TX tries to find the revert reason. args = tx hex address`,
	Args:  cobra.ExactArgs(1),
	Run: func(cmd *cobra.Command, args []string) {
		cfg := config.New()
		baseHandler := handler.NewBaseHandler(cfg)
		baseHandler.RevertReason(args[0])
	},
}

RevertReasonCmd takes in a failed tx hash and tries to give you the reason

View Source
var RootCmd = &cobra.Command{
	Use:   "chaincli",
	Short: "ChainLink CLI tool to manage products such as keeper, vrf, etc.",
	Long:  `chaincli is a CLI for running the product management commands, e.g. keepers deployment.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the RootCmd.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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