ignitecmd

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 68 Imported by: 1

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func InitChain added in v0.26.0

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 added in v0.26.0

func LoadPlugins(ctx context.Context, cmd *cobra.Command) 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 plugin 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 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 added in v0.26.0

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 NewDocs

func NewDocs() *cobra.Command

func NewDoctor added in v0.27.0

func NewDoctor() *cobra.Command

func NewGenerate

func NewGenerate() *cobra.Command

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

func NewGenerateComposables added in v0.26.0

func NewGenerateComposables() *cobra.Command

func NewGenerateGo

func NewGenerateGo() *cobra.Command

func NewGenerateHooks added in v0.26.0

func NewGenerateHooks() *cobra.Command

func NewGenerateOpenAPI

func NewGenerateOpenAPI() *cobra.Command

func NewGenerateTSClient added in v0.24.0

func NewGenerateTSClient() *cobra.Command

func NewGenerateVuex

func NewGenerateVuex() *cobra.Command

func NewNode added in v0.24.0

func NewNode() *cobra.Command

func NewNodeQuery added in v0.24.0

func NewNodeQuery() *cobra.Command

func NewNodeQueryBank added in v0.24.0

func NewNodeQueryBank() *cobra.Command

func NewNodeQueryBankBalances added in v0.24.0

func NewNodeQueryBankBalances() *cobra.Command

func NewNodeQueryTx added in v0.24.0

func NewNodeQueryTx() *cobra.Command

func NewNodeTx added in v0.24.0

func NewNodeTx() *cobra.Command

func NewNodeTxBank added in v0.24.0

func NewNodeTxBank() *cobra.Command

func NewNodeTxBankSend added in v0.24.0

func NewNodeTxBankSend() *cobra.Command

func NewPlugin added in v0.26.0

func NewPlugin() *cobra.Command

NewPlugin returns a command that groups plugin related sub commands.

func NewPluginAdd added in v0.26.0

func NewPluginAdd() *cobra.Command

func NewPluginDescribe added in v0.26.0

func NewPluginDescribe() *cobra.Command

func NewPluginList added in v0.26.0

func NewPluginList() *cobra.Command

func NewPluginRemove added in v0.26.0

func NewPluginRemove() *cobra.Command

func NewPluginScaffold added in v0.26.0

func NewPluginScaffold() *cobra.Command

func NewPluginUpdate added in v0.26.0

func NewPluginUpdate() *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 added in v0.26.0

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 NewScaffoldWasm

func NewScaffoldWasm() *cobra.Command

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 NewToolsProtoc

func NewToolsProtoc() *cobra.Command

func NewVersion

func NewVersion() *cobra.Command

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

func UnloadPlugins added in v0.26.0

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