mset: github.com/ehernandez-xk/mset Index | Files

package mset

import "github.com/ehernandez-xk/mset"

Index

Package Files

cmd_add.go cmd_current.go cmd_init.go cmd_list.go cmd_remove.go cmd_set.go command.go file.go version.go

Variables

var (
    // VersionMajor is for an API incompatible changes
    VersionMajor = 0
    // VersionMinor is for functionality in a backwards-compatible manner
    VersionMinor = 0
    // VersionPatch is for backwards-compatible bug fixes
    VersionPatch = 1
)
var AddCMD = add{
    // contains filtered or unexported fields
}
var CurrentCMD = current{
    // contains filtered or unexported fields
}
var InitCMD = initc{
    // contains filtered or unexported fields
}
var ListCMD = list{
    // contains filtered or unexported fields
}
var RemoveCMD = remove{
    // contains filtered or unexported fields
}
var SetCMD = set{
    // contains filtered or unexported fields
}
var Version = fmt.Sprintf("%d.%d.%d",
    VersionMajor, VersionMinor, VersionPatch)

Version is the specification version that the package types support.

func Exec Uses

func Exec(args []string) error

Exec execs the args in the commands

type Command Uses

type Command interface {
    Name() string
    Usage() string
    Description() string
    Run([]string) error
}

Command represents the behaviour of a command

Package mset imports 8 packages (graph). Updated 2019-08-20. Refresh now. Tools for package owners.