eiamplugin

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootCommand

type RootCommand struct {
	Plugins []*plugins.EphemeralIamPlugin
	cobra.Command
}

RootCommand is a struct that holds the loaded plugins and the top level cobra command.

func (*RootCommand) LoadPlugins

func (rc *RootCommand) LoadPlugins() error

LoadPlugins searches for files in the plugin directory and attempts to load them.

func (*RootCommand) PrintPlugins

func (rc *RootCommand) PrintPlugins()

PrintPlugins formats the list of loaded plugins as a table and prints them.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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