cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	LsCmd        LsCmd        `command:"ls" description:"Show an ls-style list of files"`
	Sha1sumCmd   Sha1sumCmd   `command:"sha1sum" alias:"shasum" description:"Show sha1 checksums"`
	Sha256sumCmd Sha256sumCmd `command:"sha256sum" description:"Show sha256 checksums"`
	Sha512sumCmd Sha512sumCmd `command:"sha512sum" description:"Show sha512 checksums"`
}

func (*Cmd) Execute

func (c *Cmd) Execute(extra []string) error

type LsCmd

type LsCmd struct{}

func (*LsCmd) Execute

func (c *LsCmd) Execute(_ []string) error

type Sha1sumCmd

type Sha1sumCmd struct{}

func (*Sha1sumCmd) Execute

func (c *Sha1sumCmd) Execute(_ []string) error

type Sha256sumCmd

type Sha256sumCmd struct{}

func (*Sha256sumCmd) Execute

func (c *Sha256sumCmd) Execute(_ []string) error

type Sha512sumCmd

type Sha512sumCmd struct{}

func (*Sha512sumCmd) Execute

func (c *Sha512sumCmd) Execute(_ []string) error

Jump to

Keyboard shortcuts

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