api

package
v0.2.1-rc1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Completion added in v0.3.0

type Completion struct{}

func (Completion) Command added in v0.3.0

func (c Completion) Command() *cli.Command

type Handler

type Handler interface {
	// Command returns a command.
	Command() *cli.Command
}

Handler is an interface for a handling command.

type Lint

type Lint struct{}

Lint is a handler for lint command.

func (Lint) Action

func (l Lint) Action(ctx *cli.Context) error

Action implements Handler.

func (Lint) Command

func (l Lint) Command() *cli.Command

Command implements Handler.

type Mod

type Mod struct{}

Mod is a handler for package manager

func (Mod) Command

func (m Mod) Command() *cli.Command

func (Mod) Download added in v0.3.0

func (m Mod) Download(ctx *cli.Context) error

Directories

Path Synopsis
shared

Jump to

Keyboard shortcuts

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