cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands []*cli.Command
View Source
var GlobalFlags = []cli.Flag{
	&cli.StringFlag{
		Name:        "config",
		Required:    false,
		Value:       "~/.isodos.json",
		Usage:       "The config file to use",
		Destination: &config.App.AppConfigFile,
	},
	&cli.StringFlag{
		Name:        "s3-access-key",
		Required:    false,
		Usage:       "archive.org S3-Like Access Key",
		Destination: &config.App.Flags.S3AccessKey,
	},
	&cli.StringFlag{
		Name:        "s3-secret-key",
		Required:    false,
		Usage:       "archive.org S3-Like Secret Key",
		Destination: &config.App.Flags.S3SecretKey,
	},
	&cli.StringFlag{
		Name:        "project",
		Required:    false,
		Usage:       "Isodos project to use",
		Destination: &config.App.Flags.Project,
	},
	&cli.BoolFlag{
		Name:        "debug",
		Destination: &config.App.Flags.Debug,
	},
}

Functions

func CommandNotFound

func CommandNotFound(c *cli.Context, command string)

func RegisterCommand

func RegisterCommand(command cli.Command)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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