proton

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	toolargs.Base
	// contains filtered or unexported fields
}

func New

func New() *Command

func (*Command) Name

func (c *Command) Name() string

func (*Command) Run

func (c *Command) Run(ctx context.Context, execution *commands.Execution) (_ any, err error)

func (*Command) Usage

func (c *Command) Usage() string

func (*Command) WithEvents

func (c *Command) WithEvents(events aop.EventEmitter) *Command

func (*Command) WithLogger

func (c *Command) WithLogger(logger telemetry.Logger) *Command

func (*Command) WithProxy

func (c *Command) WithProxy(proxy string) *Command

func (*Command) WithResourceProvider

func (c *Command) WithResourceProvider(provider func(string) []byte) *Command

Jump to

Keyboard shortcuts

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