commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "monetcli",
	Short: "Monet-CLI",
	Long: `Monet-CLI
	
Monetcli is the swiss army knife of tools for the Monet Hub. The README.md in the github repository is a good starting place in the documentation. For quicker access and a handy reference of flags and options.:
	
monetcli help [subcommand]
	
The best starting points are the commands testnet, testjoin or wizard. `,
}

RootCmd is the root command for monetcli

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "show version info",
	Long: `Monet-CLI Version information
	
This command returns the version number of the monetcli app itself, 
and the version of the EVM-Lite, Babble and Geth librarys used to 
build it. The suffix (if shown) on the Monet version is the github 
commit for this version.
	`,
	Run: func(cmd *cobra.Command, args []string) {
		common.Banner("monetd")
		common.BlankLine()

		common.FaceOut(common.ColourInfo)

		common.BlankLine()
		fmt.Print(monet.FullVersion())
	},
}

VersionCmd displays the version of evml being used

Functions

This section is empty.

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