cmd

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cmd implements a Cobra cli tree and cli functionality via Execute().

Index

Constants

This section is empty.

Variables

View Source
var BuildDate string

BuildDate e.g. RFC3339 formatted UTC date "2016-08-04T18:07:54Z"

View Source
var GitBranch string

GitBranch e.g. current branch name the code is built off "master"

View Source
var GitCommit string

GitCommit e.g. short commit hash of source tree "0b5ed7a"

View Source
var GitState string

GitState e.g. whether there are uncommitted changes "clean or dirty"

PaperInst is an object to interact with a Paperless instance

View Source
var Version string

Version e.g. contents of ./VERSION file, if exists, or the value passed via the -version option "2.0.0"

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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