Documentation
¶
Index ¶
- Constants
- func InitChain(cmd *cobra.Command, r relayer.Relayer, session *cliui.Session, ...) (*relayer.Chain, error)
- func LoadPlugins(ctx context.Context, cmd *cobra.Command) error
- func New(ctx context.Context) (*cobra.Command, func(), error)
- func NewAccount() *cobra.Command
- func NewAccountCreate() *cobra.Command
- func NewAccountDelete() *cobra.Command
- func NewAccountExport() *cobra.Command
- func NewAccountImport() *cobra.Command
- func NewAccountList() *cobra.Command
- func NewAccountShow() *cobra.Command
- func NewChain() *cobra.Command
- func NewChainBuild() *cobra.Command
- func NewChainDebug() *cobra.Command
- func NewChainFaucet() *cobra.Command
- func NewChainInit() *cobra.Command
- func NewChainServe() *cobra.Command
- func NewChainSimulate() *cobra.Command
- func NewDocs() *cobra.Command
- func NewGenerate() *cobra.Command
- func NewGenerateComposables() *cobra.Command
- func NewGenerateGo() *cobra.Command
- func NewGenerateHooks() *cobra.Command
- func NewGenerateOpenAPI() *cobra.Command
- func NewGenerateTSClient() *cobra.Command
- func NewGenerateVuex() *cobra.Command
- func NewNode() *cobra.Command
- func NewNodeQuery() *cobra.Command
- func NewNodeQueryBank() *cobra.Command
- func NewNodeQueryBankBalances() *cobra.Command
- func NewNodeQueryTx() *cobra.Command
- func NewNodeTx() *cobra.Command
- func NewNodeTxBank() *cobra.Command
- func NewNodeTxBankSend() *cobra.Command
- func NewPlugin() *cobra.Command
- func NewPluginAdd() *cobra.Command
- func NewPluginDescribe() *cobra.Command
- func NewPluginList() *cobra.Command
- func NewPluginRemove() *cobra.Command
- func NewPluginScaffold() *cobra.Command
- func NewPluginUpdate() *cobra.Command
- func NewRelayer() *cobra.Command
- func NewRelayerConfigure() *cobra.Command
- func NewRelayerConnect() *cobra.Command
- func NewScaffold() *cobra.Command
- func NewScaffoldBandchain() *cobra.Command
- func NewScaffoldChain() *cobra.Command
- func NewScaffoldList() *cobra.Command
- func NewScaffoldMap() *cobra.Command
- func NewScaffoldMessage() *cobra.Command
- func NewScaffoldModule() *cobra.Command
- func NewScaffoldPacket() *cobra.Command
- func NewScaffoldQuery() *cobra.Command
- func NewScaffoldReact() *cobra.Command
- func NewScaffoldSingle() *cobra.Command
- func NewScaffoldType() *cobra.Command
- func NewScaffoldVue() *cobra.Command
- func NewScaffoldWasm() *cobra.Command
- func NewTools() *cobra.Command
- func NewToolsIBCRelayer() *cobra.Command
- func NewToolsIBCSetup() *cobra.Command
- func NewToolsProtoc() *cobra.Command
- func NewVersion() *cobra.Command
- func UnloadPlugins()
Constants ¶
const ( PluginNetworkVersion = "main" PluginNetworkPath = "github.com/spellshape/cli-plugin-network@" + PluginNetworkVersion )
const ( RelayerSource = "source" RelayerTarget = "target" )
const (
FlagIndexes = "index"
)
Variables ¶
This section is empty.
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 ¶
LoadPlugins tries to load all the plugins found in configurations. If no configurations found, it returns w/o error.
func New ¶
New creates a new root command for `Spellshape 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 NewAccountCreate ¶
func NewAccountDelete ¶
func NewAccountExport ¶
func NewAccountImport ¶
func NewAccountList ¶
func NewAccountShow ¶
func NewChain ¶
NewChain returns a command that groups sub commands related to compiling, serving blockchains and so on.
func NewChainBuild ¶
NewChainBuild returns a new build command to build a blockchain app.
func NewChainDebug ¶
NewChainDebug returns a new debug command to debug a blockchain app.
func NewChainFaucet ¶
NewChainFaucet creates a new faucet command to send coins to accounts.
func NewChainInit ¶
func NewChainServe ¶
NewChainServe creates a new serve command to serve a blockchain.
func NewChainSimulate ¶
NewChainSimulate creates a new simulation command to run the blockchain simulation.
func NewGenerate ¶
NewGenerate returns a command that groups code generation related sub commands.
func NewGenerateComposables ¶
func NewGenerateGo ¶
func NewGenerateHooks ¶
func NewGenerateOpenAPI ¶
func NewGenerateTSClient ¶
func NewGenerateVuex ¶
func NewNodeQuery ¶
func NewNodeQueryBank ¶
func NewNodeQueryTx ¶
func NewNodeTxBank ¶
func NewNodeTxBankSend ¶
func NewPluginAdd ¶
func NewPluginDescribe ¶
func NewPluginList ¶
func NewPluginRemove ¶
func NewPluginScaffold ¶
func NewPluginUpdate ¶
func NewRelayerConfigure ¶
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 ¶
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 ¶
NewScaffold returns a command that groups scaffolding related sub commands.
func NewScaffoldBandchain ¶
NewScaffoldBandchain creates a new BandChain oracle in the module.
func NewScaffoldChain ¶
NewScaffoldChain creates new command to scaffold a Comos-SDK based blockchain.
func NewScaffoldList ¶
NewScaffoldList returns a new command to scaffold a list.
func NewScaffoldMap ¶
NewScaffoldMap returns a new command to scaffold a map.
func NewScaffoldMessage ¶
NewScaffoldMessage returns the command to scaffold messages.
func NewScaffoldModule ¶
NewScaffoldModule returns the command to scaffold a Cosmos SDK module.
func NewScaffoldPacket ¶
NewScaffoldPacket creates a new packet in the module.
func NewScaffoldQuery ¶
NewScaffoldQuery command creates a new type command to scaffold queries.
func NewScaffoldReact ¶
NewScaffoldReact scaffolds a React app for a chain.
func NewScaffoldSingle ¶
NewScaffoldSingle returns a new command to scaffold a singleton.
func NewScaffoldType ¶
NewScaffoldType returns a new command to scaffold a type.
func NewScaffoldVue ¶
NewScaffoldVue scaffolds a Vue.js app for a chain.
func NewScaffoldWasm ¶
func NewTools ¶
NewTools returns a command where various tools (binaries) are attached as sub commands for advanced users.
func NewToolsIBCRelayer ¶
func NewToolsIBCSetup ¶
func NewToolsProtoc ¶
func NewVersion ¶
NewVersion creates a new version command to show the Spellshape CLI version.
func UnloadPlugins ¶
func UnloadPlugins()
UnloadPlugins releases any loaded plugins, which is basically killing the plugin server instance.
Types ¶
This section is empty.
Source Files
¶
- account.go
- account_create.go
- account_delete.go
- account_export.go
- account_import.go
- account_list.go
- account_show.go
- chain.go
- chain_build.go
- chain_debug.go
- chain_faucet.go
- chain_init.go
- chain_serve.go
- chain_simulate.go
- cmd.go
- docs.go
- generate.go
- generate_composables.go
- generate_go.go
- generate_hooks.go
- generate_openapi.go
- generate_typescript_client.go
- generate_vuex.go
- node.go
- node_query.go
- node_query_bank.go
- node_query_bank_balances.go
- node_query_tx.go
- node_tx.go
- node_tx_bank.go
- node_tx_bank_send.go
- plugin.go
- plugin_default.go
- relayer.go
- relayer_configure.go
- relayer_connect.go
- scaffold.go
- scaffold_band.go
- scaffold_chain.go
- scaffold_list.go
- scaffold_map.go
- scaffold_message.go
- scaffold_module.go
- scaffold_mwasm.go
- scaffold_package.go
- scaffold_query.go
- scaffold_react.go
- scaffold_single.go
- scaffold_type.go
- scaffold_vue.go
- tools.go
- version.go