cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2017 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use: "databoard",
}

RootCmd represents the base command when called without any subcommands

Functions

func Bytesize

func Bytesize(size float64) (n float64, unit string)

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GPGDecrypt

func GPGDecrypt(cipherfile string, passphare []byte) (plainfile string, err error)

func GPGEncrypt

func GPGEncrypt(file string, passphare []byte) (name string, err error)

func IsEmptyString

func IsEmptyString(v interface{}) bool

func Packet

func Packet(basedir, fileprefix string, passphare []byte, files []string) (path_ string, err error)

func Unpack

func Unpack(srcfile string, passphare []byte, dstDir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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