extensions

package
v1.0.0-rc.39 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	types.Manifest
	Entrypoint string `json:"-"`
}

func Load

func Load(entrypoint string) (Extension, error)

func (Extension) Cmd

func (e Extension) Cmd(commandName string, input types.CommandInput) (*exec.Cmd, error)

func (Extension) Command

func (e Extension) Command(name string) (types.CommandSpec, bool)

func (Extension) Run

func (e Extension) Run(command string, input types.CommandInput) ([]byte, error)

Jump to

Keyboard shortcuts

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