command

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActiveVessel pluginkit.Vessel

Functions

func NewPluginCommands

func NewPluginCommands(
	pluginName, buildVersion, buildGitCommitHash, buildTime string,
	armory *pluginkit.Armory,
	initializer func(*config.Config) error,
	requiredVars []string) *cobra.Command

func ReadConfig

func ReadConfig()

func SetBase

func SetBase(cmd *cobra.Command)

SetBase sets the base flags for all commands

Types

type Plugin

type Plugin struct{}

func (*Plugin) Start

func (p *Plugin) Start() (err error)

Start will be called by Privateer via gRPC

Jump to

Keyboard shortcuts

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