Help us shape the future of Go! Take the 2026 Go Developer Survey

pluginscmd

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package pluginscmd implements the `d8 plugins` command tree and the per-plugin wrapper command on top of the internal/plugins machinery.

Index

Constants

View Source
const (
	SystemPluginName = "system"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(logger *dkplog.Logger, builtinCommands []string) *cobra.Command

NewCommand returns the `d8 plugins` command tree for managing plugins. builtinCommands are built-in command names that satisfy a plugin dependency of the same name (e.g. delivery-kit) until such capabilities ship as standalone plugins.

func NewPluginCommand

func NewPluginCommand(commandName, description string, aliases []string, logger *dkplog.Logger) *cobra.Command

NewPluginCommand returns the wrapper command that runs an installed plugin (e.g. `d8 system`), installing it first when missing. TODO: add options pattern

Types

This section is empty.

Directories

Path Synopsis
Package errdetect maps registry-packages-proxy failures from `d8 plugins` to HelpfulErrors with plugin-specific guidance.
Package errdetect maps registry-packages-proxy failures from `d8 plugins` to HelpfulErrors with plugin-specific guidance.

Jump to

Keyboard shortcuts

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