cmd

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

cmd package contains all the command line flag configuration

cmd package contains all the command line flag configuration

cmd package contains all the command line flag configuration

cmd package contains all the command line flag configuration

cmd package contains all the command line flag configuration

Index

Constants

This section is empty.

Variables

View Source
var DownloadBufferSize int
View Source
var DownloadThreads int
View Source
var GitSha = "unknown"

GitSha is added from the build and release scripts

View Source
var MaxFileSizeGiB int
View Source
var Verbose bool
View Source
var Version = "unknownVersion"

Version is pulled from the branch name and set in the build and release scripts

Functions

func DefaultDownloadDir added in v0.2.1

func DefaultDownloadDir() string
func DownloadNonSendSafelyLink(d downloader.GenericDownloader, a zendesk.Attachment, ticketID string) (invalidFiles []string, err error)

func Execute

func Execute()

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

func InvalidFilesReport added in v0.4.1

func InvalidFilesReport(invalidFiles []string) string

func PrintHeader

func PrintHeader(version, platform, arch, gitSha string) string

func Report added in v0.4.6

func Report(totalFiles int, totalSkipped int, totalFailed int, totalBytes int64, maxBytes int64) string

func SetVerbosity added in v0.4.6

func SetVerbosity()

made avaiable to subcommands via this method

Types

This section is empty.

Directories

Path Synopsis
config package handles the reading and writing of the app configuration file
config package handles the reading and writing of the app configuration file

Jump to

Keyboard shortcuts

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