api

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) Action

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

func (Mod) Command

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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