api

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 13 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 Generate added in v0.4.0

type Generate struct{}

Generate is a handler for generate command.

func (Generate) Action added in v0.4.0

func (g Generate) Action(ctx *cli.Context) error

Action implements Handler.

func (Generate) Command added in v0.4.0

func (g Generate) Command() *cli.Command

Command implements Handler.

type Handler

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

Handler is an interface for a handling command.

type Init added in v0.3.0

type Init struct{}

Init is a handler for initialization EasyP configuration.

func (Init) Action added in v0.3.0

func (i Init) Action(ctx *cli.Context) error

Action implements Handler.

func (Init) Command added in v0.3.0

func (i Init) Command() *cli.Command

Command implements Handler.

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