ignitecmd

package
v28.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 69 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginNetworkVersion = "v0.2.2"
	PluginNetworkPath    = "github.com/ignite/cli-plugin-network@" + PluginNetworkVersion
)
View Source
const (
	RelayerSource = "source"
	RelayerTarget = "target"
)
View Source
const (
	FlagIndexes = "index"
)

Variables

View Source
var ErrProtocUnsupported = errors.New("code generation using protoc is only supported by Ignite CLI v0.26.1 or older")

Functions

func InitChain

func InitChain(
	cmd *cobra.Command,
	r relayer.Relayer,
	session *cliui.Session,
	name,
	accountName,
	rpcAddr,
	faucetAddr,
	gasPrice string,
	gasLimit int64,
	addressPrefix,
	clientID string,
) (*relayer.Chain, error)

InitChain initializes chain information for the relayer connection.

func LoadPlugins

func LoadPlugins(ctx context.Context, cmd *cobra.Command, session *cliui.Session) error

LoadPlugins tries to load all the plugins found in configurations. If no configurations found, it returns w/o error.

func New

func New(ctx context.Context) (*cobra.Command, func(), error)

New creates a new root command for `Ignite CLI` with its sub commands. Returns the cobra.Command, a cleanup function and an error. The cleanup function must be invoked by the caller to clean eventual Ignite App instances.

func NewAccount

func NewAccount() *cobra.Command

func NewAccountCreate

func NewAccountCreate() *cobra.Command

func NewAccountDelete

func NewAccountDelete() *cobra.Command

func NewAccountExport

func NewAccountExport() *cobra.Command

func NewAccountImport

func NewAccountImport() *cobra.Command

func NewAccountList

func NewAccountList() *cobra.Command

func NewAccountShow

func NewAccountShow() *cobra.Command

func NewApp

func NewApp() *cobra.Command

NewApp returns a command that groups Ignite App related sub commands.

func NewAppDescribe

func NewAppDescribe() *cobra.Command

func NewAppInstall

func NewAppInstall() *cobra.Command

func NewAppList

func NewAppList() *cobra.Command

func NewAppScaffold

func NewAppScaffold() *cobra.Command

func NewAppUninstall

func NewAppUninstall() *cobra.Command

func NewAppUpdate

func NewAppUpdate() *cobra.Command

func NewChain

func NewChain() *cobra.Command

NewChain returns a command that groups sub commands related to compiling, serving blockchains and so on.

func NewChainBuild

func NewChainBuild() *cobra.Command

NewChainBuild returns a new build command to build a blockchain app.

func NewChainDebug

func NewChainDebug() *cobra.Command

NewChainDebug returns a new debug command to debug a blockchain app.

func NewChainFaucet

func NewChainFaucet() *cobra.Command

NewChainFaucet creates a new faucet command to send coins to accounts.

func NewChainInit

func NewChainInit() *cobra.Command

func NewChainServe

func NewChainServe() *cobra.Command

NewChainServe creates a new serve command to serve a blockchain.

func NewChainSimulate

func NewChainSimulate() *cobra.Command

NewChainSimulate creates a new simulation command to run the blockchain simulation.

func NewCompletionCmd added in v28.2.0

func NewCompletionCmd() *cobra.Command

completionCmd represents the completion command.

func NewDocs

func NewDocs() *cobra.Command

func NewDoctor

func NewDoctor() *cobra.Command

func NewGenerate

func NewGenerate() *cobra.Command

NewGenerate returns a command that groups code generation related sub commands.

func NewGenerateComposables

func NewGenerateComposables() *cobra.Command

func NewGenerateGo

func NewGenerateGo() *cobra.Command

func NewGenerateHooks

func NewGenerateHooks() *cobra.Command

func NewGenerateOpenAPI

func NewGenerateOpenAPI() *cobra.Command

func NewGenerateTSClient

func NewGenerateTSClient() *cobra.Command

func NewGenerateVuex

func NewGenerateVuex() *cobra.Command

func NewNode

func NewNode() *cobra.Command

func NewNodeQuery

func NewNodeQuery() *cobra.Command

func NewNodeQueryBank

func NewNodeQueryBank() *cobra.Command

func NewNodeQueryBankBalances

func NewNodeQueryBankBalances() *cobra.Command

func NewNodeQueryTx

func NewNodeQueryTx() *cobra.Command

func NewNodeTx

func NewNodeTx() *cobra.Command

func NewNodeTxBank

func NewNodeTxBank() *cobra.Command

func NewNodeTxBankSend

func NewNodeTxBankSend() *cobra.Command

func NewRelayer

func NewRelayer() *cobra.Command

NewRelayer returns a new relayer command.

func NewRelayerConfigure

func NewRelayerConfigure() *cobra.Command

NewRelayerConfigure returns a new relayer configure command. faucet addresses are optional and connect command will try to guess the address when not provided. even if auto retrieving coins fails, connect command will complete with success.

func NewRelayerConnect

func NewRelayerConnect() *cobra.Command

NewRelayerConnect returns a new relayer connect command to link all or some relayer paths and start relaying txs in between. if not paths are specified, all paths are linked.

func NewScaffold

func NewScaffold() *cobra.Command

NewScaffold returns a command that groups scaffolding related sub commands.

func NewScaffoldBandchain

func NewScaffoldBandchain() *cobra.Command

NewScaffoldBandchain creates a new BandChain oracle in the module.

func NewScaffoldChain

func NewScaffoldChain() *cobra.Command

NewScaffoldChain creates new command to scaffold a Comos-SDK based blockchain.

func NewScaffoldList

func NewScaffoldList() *cobra.Command

NewScaffoldList returns a new command to scaffold a list.

func NewScaffoldMap

func NewScaffoldMap() *cobra.Command

NewScaffoldMap returns a new command to scaffold a map.

func NewScaffoldMessage

func NewScaffoldMessage() *cobra.Command

NewScaffoldMessage returns the command to scaffold messages.

func NewScaffoldModule

func NewScaffoldModule() *cobra.Command

NewScaffoldModule returns the command to scaffold a Cosmos SDK module.

func NewScaffoldPacket

func NewScaffoldPacket() *cobra.Command

NewScaffoldPacket creates a new packet in the module.

func NewScaffoldQuery

func NewScaffoldQuery() *cobra.Command

NewScaffoldQuery command creates a new type command to scaffold queries.

func NewScaffoldReact

func NewScaffoldReact() *cobra.Command

NewScaffoldReact scaffolds a React app for a chain.

func NewScaffoldSingle

func NewScaffoldSingle() *cobra.Command

NewScaffoldSingle returns a new command to scaffold a singleton.

func NewScaffoldType

func NewScaffoldType() *cobra.Command

NewScaffoldType returns a new command to scaffold a type.

func NewScaffoldVue

func NewScaffoldVue() *cobra.Command

NewScaffoldVue scaffolds a Vue.js app for a chain.

func NewTools

func NewTools() *cobra.Command

NewTools returns a command where various tools (binaries) are attached as sub commands for advanced users.

func NewToolsIBCRelayer

func NewToolsIBCRelayer() *cobra.Command

func NewToolsIBCSetup

func NewToolsIBCSetup() *cobra.Command

func NewVersion

func NewVersion() *cobra.Command

NewVersion creates a new version command to show the Ignite CLI version.

func UnloadPlugins

func UnloadPlugins()

UnloadPlugins releases any loaded plugins, which is basically killing the plugin server instance.

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