cmd

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Logging struct {
		Level slog.Level `env:"GIT_AGE_LOG_LEVEL" help:"Log level" default:"warn"`
	} `embed:""`

	Clean        clih.CleanCliHandler        `cmd:"" name:"clean" hidden:"" help:"clean should only be invoked by Git"`
	Smudge       clih.SmudgeCliHandler       `cmd:"" name:"smudge" hidden:"" help:"smudge should only be invoked by Git"`
	Files        clih.FilesCliHandler        `cmd:"" name:"files" help:"Interact with repo files"`
	AddRecipient clih.AddRecipientCliHandler `cmd:"" name:"add-recipient" help:"Add a recipient to the list of recipients"`
	GenKey       clih.GenKeyCliHandler       `cmd:"" name:"gen-key" help:"Generate a new key pair"`
	Init         clih.InitCliHandler         `cmd:"" name:"init" help:"Initialize a repository"`
	Install      clih.InstallCliHandler      `cmd:"" name:"install" help:"Install git-age hooks in global git config"`
	Version      clih.VersionCliHandler      `cmd:"" name:"version" help:"Print version information"`
}

func (*App) AfterApply added in v0.1.6

func (a *App) AfterApply() error

func (*App) Execute added in v0.1.6

func (a *App) Execute() error

Jump to

Keyboard shortcuts

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