command

package
v0.0.0-...-8cfe5f7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package command describes commands available to the user.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterOperation

func RegisterOperation(op Operation)

RegisterOperation makes an operation available to be called from the command line.

Types

type Operation

type Operation interface {
	client.Operation
	server.Operation
	// Command describes the name by which this operation is recognized, i.e.
	// the command line identifier.
	Command() string
}

Operation is the common interface for the basic operations of the program.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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