cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadOutputEncodingUnknown readOutputEncoding = iota
	ReadOutputEncodingBase64
	ReadOutputEncodingHex
	ReadOutputEncodingBlob
)

Variables

View Source
var (
	AppName     = "Bumblebee - A utility for sharing secrets"
	AppVersion  = "0.1.1" // overwritten during builds by goreleaser
	AppDateTime = "[datetime]"
	AppCommit   = "[commit]"
	AppBuiltBy  = "[builtby]"
	AppProject  = "GITHUB https://github.com/thoughtrealm/bumblebee"
	AppLicense  = "MIT License https://github.com/thoughtrealm/bumblebee/blob/main/LICENSE"
)

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.

func GetRootCmd

func GetRootCmd() *cobra.Command

func ShowUsage

func ShowUsage(cmd *cobra.Command) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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