cmd

package
v0.0.0-...-51f11a7 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 fileformat@gmail.com

Index

Constants

This section is empty.

Variables

View Source
var (
	UserAgent string
)

Functions

func Execute

func Execute()

func GetAlways

func GetAlways(name string) (string, error)

func GetRoot

func GetRoot() *cobra.Command

needed for man pages

func InitEmail

func InitEmail()

func InitFacebook

func InitFacebook()

func InitMastodon

func InitMastodon()

func InitVersion

func InitVersion(versionInfo VersionInfo)

func Mask

func Mask(raw string) string

Types

type VersionInfo

type VersionInfo struct {
	Commit  string `json:"commit"`
	LastMod string `json:"lastmod"`
	Version string `json:"version"`
	Builder string `json:"builder"`
}

Jump to

Keyboard shortcuts

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