dependencymanager

package
v1.17.0-cadence-v1.0.0... Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:              "dependencies",
	Short:            "Manage contracts and dependencies",
	TraverseChildren: true,
	GroupID:          "manager",
	Aliases:          []string{"deps"},
}

Functions

This section is empty.

Types

type DependencyInstaller

type DependencyInstaller struct {
	Gateways        map[string]gateway.Gateway
	Logger          output.Logger
	State           *flowkit.State
	SkipDeployments bool
	SkipAlias       bool
	// contains filtered or unexported fields
}

func NewDependencyInstaller

func NewDependencyInstaller(logger output.Logger, state *flowkit.State, flags dependencyManagerFlagsCollection) (*DependencyInstaller, error)

NewDependencyInstaller creates a new instance of DependencyInstaller

func (*DependencyInstaller) Add

func (di *DependencyInstaller) Add(depSource, customName string) error

Add processes a single dependency and installs it and any dependencies it has, as well as adding it to the state

func (*DependencyInstaller) Install

func (di *DependencyInstaller) Install() error

Install processes all the dependencies in the state and installs them and any dependencies they have

Jump to

Keyboard shortcuts

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