module

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActiveGlobalFlags = []GlobalFlag{debug.Flag{}, raw.Flag{}}

ActiveGlobalFlags contains all global flags. If a global flag is not in this slice, it won't be activated.

View Source
var ActiveModules = []Module{bulkdownload.Module{}, update.Module{}, extract.Module{}}

ActiveModules contains all available modules. If a module is not in this slice, it won't be activated. Except for the module `modules`, which is registered in the main package.

Functions

This section is empty.

Types

type GlobalFlag

type GlobalFlag interface {
	GetFlags() []cli.Flag
}

GlobalFlag is the interface of each global flag in dops. Each flag module must return at least one flag.

type Module

type Module interface {
	GetCommands() []*cli.Command
}

Module is the interface of each module available in dops. Each module must return at least one command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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