cmd

package
v0.0.0-...-2d88c84 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

type Info

type Info struct {
	Version       string               `json:"version,omitempty"`
	Commit        string               `json:"commit,omitempty"`
	Date          string               `json:"date,omitempty"`
	ResourceFiles []*ResourceFilesInfo `json:"resource_files,omitempty"`
}

Info creates a formattable struct for output.

type ResourceFilesInfo

type ResourceFilesInfo struct {
	Path     string `json:"path,omitempty"`
	Checksum string `json:"checksum,omitempty"`
	Type     string `json:"type,omitempty"`
}

ResourceFilesInfo describes embedded files.

Jump to

Keyboard shortcuts

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