utility

package
v0.0.0-...-c564936 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CleanCmd = common.NewDiveCommandBuilder().
	SetUse("clean").
	SetShort("Cleans up Kurtosis leftover artifacts").
	SetLong("Destroys and removes any running encalves. If no enclaves running to remove it will throw an error").
	AddBoolFlagP("all", "a", false, "To Clean All the Service in Enclave").
	SetRun(clean).Build()
View Source
var EnclavesCmd = common.NewDiveCommandBuilder().
	SetUse("enclaves").
	SetShort("Prints The Info About Enclaves").
	SetLong("Info About Enclaves Name,UUID,Short UUID,Status,Created Time.").
	SetRun(enclave).Build()
View Source
var TutorialCmd = common.NewDiveCommandBuilder().
	SetUse("tutorial").
	SetShort("Opens DIVE Tutorial Youtube Playlist").
	SetLong(
		`The command opens the YouTube playlist containing DIVE tutorials. It launches a web browser or the YouTube application,
	directing users to a curated collection of tutorial videos specifically designed to guide and educate users about DIVE. The playlist 
	offers step-by-step instructions, tips, and demonstrations to help users better understand and utilize the features and functionalities of DIVE.`,
	).
	SetRun(tutorial).
	Build()
View Source
var VersionCmd = common.NewDiveCommandBuilder().
	SetUse("version").
	SetShort("Checks The DIVE CLI Version").
	SetLong("Checks the current DIVE CLI version and warns if you are using an old version.").
	SetRun(version).
	Build()

Functions

func GetLatestVersion

func GetLatestVersion(cli *common.Cli) string

This function will fetch the latest version from HugoByte/Dive repo

Types

This section is empty.

Jump to

Keyboard shortcuts

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