config

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ConfigCmd implements the config CLI subcommand
	ConfigCmd = &cobra.Command{
		Use:   "config",
		Short: "manage monetd configuration",
		Long: `monetcli config
		
The config subcommands manage the monet configuration file, as used by 
the monetd server process. `,
		TraverseChildren: true,
	}

	//Force is a flag to allow overwriting of config files without warning. Can be
	//set programmatically or with --force flag
	Force bool
)

Functions

func NewCheckCmd

func NewCheckCmd() *cobra.Command

NewCheckCmd defines the CLI command config check

func NewLocationCmd

func NewLocationCmd() *cobra.Command

NewLocationCmd shows the config file path

func NewPublishCmd

func NewPublishCmd() *cobra.Command

NewPublishCmd implements the "config publish" CLI subcommand

func NewShowCmd

func NewShowCmd() *cobra.Command

NewShowCmd echoes the config file to screen

func PublishAllConfigWithParams

func PublishAllConfigWithParams(networkConfigDir string, monetConfigDir string) error

PublishAllConfigWithParams iterates through all of the nodes with network set up.

func PublishConfigWithParams

func PublishConfigWithParams(networkConfigDir string, monetConfigDir string, nodeName string) error

PublishConfigWithParams exposes the publish configuration actions to allow use from wizards

func ShowConfigParams

func ShowConfigParams(monetConfigDir string) error

ShowConfigParams outputs the monetd configuration file for monetConfigDir

Types

This section is empty.

Jump to

Keyboard shortcuts

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