cmd

package
v1.0.0-preupgrade Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 40 Imported by: 0

Documentation

Overview

Package cmd holds the Cobra commands for the CCIP demo CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCantonCmd

func NewCantonCmd(g *Globals) *cobra.Command

NewCantonCmd returns the `canton` parent command.

func NewEVMCmd

func NewEVMCmd(g *Globals) *cobra.Command

NewEVMCmd returns the `evm` parent command.

Types

type Globals

type Globals struct {
	ConfigPath *string
	Network    *string
}

Globals are flags shared by every subcommand.

func (*Globals) Resolve

func (g *Globals) Resolve(ctx context.Context) (*clients.Bundle, error)

Resolve loads the config + profile and constructs the client bundle.

Jump to

Keyboard shortcuts

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