version

package
v28.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = versionDev

Version is the semantic version of Ignite CLI.

Functions

func AssertSupportedCosmosSDKVersion

func AssertSupportedCosmosSDKVersion(v cosmosver.Version) error

AssertSupportedCosmosSDKVersion asserts that a Cosmos SDK version is supported by Ignite CLI.

func CheckNext

func CheckNext(ctx context.Context) (isAvailable bool, version string, err error)

CheckNext checks whether there is a new version of Ignite CLI.

func Long

func Long(ctx context.Context) (string, error)

Long generates a detailed version info.

Types

type Info added in v28.5.0

type Info struct {
	CLIVersion      string
	GoVersion       string
	SDKVersion      string
	BuildDate       string
	SourceHash      string
	ConfigVersion   string
	OS              string
	Arch            string
	Uname           string
	CWD             string
	IsGitpod        bool
	BuildFromSource bool
}

func GetInfo added in v28.5.0

func GetInfo(ctx context.Context) (Info, error)

GetInfo gets the CLI info.

Jump to

Keyboard shortcuts

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