Documentation
¶
Index ¶
- Constants
- Variables
- func AnalyticsCommand() *cobra.Command
- func AnalyticsDisableCommand() *cobra.Command
- func AnalyticsEnableCommand() *cobra.Command
- func Execute() error
- func GasStationCommand() *cobra.Command
- func InitCommand() *cobra.Command
- func InitiaCommand() *cobra.Command
- func MinitiaCommand() *cobra.Command
- func OPInitBotsCommand() *cobra.Command
- func OPInitBotsInitCommand() *cobra.Command
- func OPInitBotsKeysSetupCommand() *cobra.Command
- func OPInitBotsLogCommand() *cobra.Command
- func OPInitBotsResetCommand() *cobra.Command
- func OPInitBotsRestartCommand() *cobra.Command
- func OPInitBotsStartCommand() *cobra.Command
- func OPInitBotsStopCommand() *cobra.Command
- func RelayerCommand() *cobra.Command
- func RunOPInit(nextModelFunc func(ctx context.Context) (tea.Model, error), ...) (tea.Model, error)
- func SubHelperText(docPath string) string
- func UpgradeCommand() *cobra.Command
- func ValidateOPinitBotNameArgs(_ *cobra.Command, args []string) error
- func ValidateOPinitOptionalBotNameArgs(_ *cobra.Command, args []string) error
- func VersionCommand() *cobra.Command
- type Asset
- type AssetList
- type DenomUnit
- type HomeConfig
Constants ¶
View Source
const ( FlagForce = "force" FlagN = "n" FlagVm = "vm" FlagDetach = "detach" FlagInitiaHome = "initia-dir" FlagMinitiaHome = "minitia-dir" FlagOPInitHome = "opinit-dir" FlagPollingInterval = "polling-interval" FlagWithConfig = "with-config" FlagKeyFile = "key-file" FlagGenerateKeyFile = "generate-key-file" )
View Source
const ( WeaveReleaseAPI string = "https://api.github.com/repos/initia-labs/weave/releases" WeaveReleaseURL string = "https://www.github.com/initia-labs/weave/releases" )
View Source
const (
DefaultTimeout = 3 * time.Second
)
View Source
const (
DocsURLPrefix = "https://docs.initia.xyz/developers/developer-guides/tools/clis/weave-cli/"
)
Variables ¶
View Source
var ( WeaveHelperText = fmt.Sprintf("Weave is the CLI for managing Initia deployments.\n\n%s", IntroductionHelperText) IntroductionHelperText = SubHelperText("introduction") L1NodeHelperText = SubHelperText("initia-node") RollupHelperText = SubHelperText("rollup/launch") OPinitBotsHelperText = SubHelperText("rollup/opinit-bots") RelayerHelperText = SubHelperText("rollup/relayer") GasStationHelperText = SubHelperText("gas-station") )
View Source
var Version string
Functions ¶
func AnalyticsCommand ¶
func AnalyticsDisableCommand ¶
func AnalyticsEnableCommand ¶
func GasStationCommand ¶
func InitCommand ¶
func InitiaCommand ¶
func MinitiaCommand ¶
func OPInitBotsCommand ¶
func OPInitBotsInitCommand ¶
func OPInitBotsLogCommand ¶
func OPInitBotsResetCommand ¶
func OPInitBotsStartCommand ¶
func OPInitBotsStopCommand ¶
func RelayerCommand ¶
func SubHelperText ¶ added in v0.0.5
func UpgradeCommand ¶
func VersionCommand ¶
Types ¶
type HomeConfig ¶
Click to show internal directories.
Click to hide internal directories.