config

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config holds global options.

Options are intended to be set via the command-line flags, and made available to all our plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// Debug is used to let our plugins know that the marionette
	// CLI was started with the `-debug` flag present.
	Debug bool

	// Verbose is used to let our plugins know that the marionette
	// CLI was started with the `-verbose` flag present.
	Verbose bool
}

Config holds the state which is set by the main driver, and is made available to all of our plugins.

func (*Config) String added in v0.17.0

func (c *Config) String() string

String converts this object to a string, only used for the test-case.

Jump to

Keyboard shortcuts

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