shared

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MarketplaceSource = "schmitthub/claude-plugins"
	PluginName        = "clawker-support@schmitthub-plugins"
)

Variables

View Source
var ValidScopes = []string{"user", "project", "local"}

ValidScopes is the set of scopes the Claude CLI accepts for plugin operations.

Functions

func CheckClaudeCLI

func CheckClaudeCLI() error

CheckClaudeCLI verifies the claude binary is available in PATH.

func RunClaude

func RunClaude(ctx context.Context, ios *iostreams.IOStreams, args ...string) error

RunClaude executes a claude CLI command, wiring stdin/stdout/stderr to the provided IOStreams. On failure it returns an actionable error message.

func ValidateScope

func ValidateScope(scope string) error

ValidateScope returns a FlagError if scope is not one of the valid Claude CLI scopes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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