cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cmd is the base package for various sets of builds and executables created from go-spacemesh

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the app's semantic version. Designed to be overwritten by make.
	Version string

	// Branch is the git branch used to build the App. Designed to be overwritten by make.
	Branch string

	// Commit is the git commit used to build the app. Designed to be overwritten by make.
	Commit string
)

Functions

func AddCommands

func AddCommands(cmd *cobra.Command)

AddCommands adds cobra commands to the app.

func EnsureCLIFlags

func EnsureCLIFlags(cmd *cobra.Command, appCFG *config.Config) error

EnsureCLIFlags checks flag types and converts them.

func ResetConfig added in v1.0.0

func ResetConfig()

Types

This section is empty.

Directories

Path Synopsis
go-spacemesh is a golang implementation of the Spacemesh node.
go-spacemesh is a golang implementation of the Spacemesh node.

Jump to

Keyboard shortcuts

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