cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PluginName = "osps-baseline"
)
View Source
var (
	Vessel = pluginkit.Vessel{
		PluginName:  "osps-baseline",
		Armory:      &armory.Armory,
		Initializer: initializer,
		RequiredVars: []string{
			"owner",
			"repo",
		},
	} // Used by the plugin or debug function to run the Plugin
)

Functions

func Execute

func Execute(version, commitHash, builtAt string)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the runCmd.

Types

type Plugin

type Plugin struct{}

func (*Plugin) Start

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

Plugin.Start() is called by plugin.Serve

Jump to

Keyboard shortcuts

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