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

command

package
v0.26.5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Name string

	// Path is the absolute path to the driver executable.
	// If unset, the executable is expected to be named "cnab-NAME" and be on the PATH.
	Path string
	// contains filtered or unexported fields
}

Driver relies upon a system command to provide a driver implementation

func (*Driver) CheckDriverExists

func (d *Driver) CheckDriverExists() bool

CheckDriverExists checks to see if the named driver exists

func (*Driver) Handles

func (d *Driver) Handles(dt string) bool

Handles executes the driver with `--handles` and parses the results

func (*Driver) Run

Run executes the command

Jump to

Keyboard shortcuts

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