resolver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandRefs

func CommandRefs(_ *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command

CommandRefs creates the resolver refs command

func CommandResolver

func CommandResolver(cliParams *settings.Run, ioStreams *terminal.IOStreams, binaryName string) *cobra.Command

CommandResolver creates the get resolver command

Types

type RefsOptions

type RefsOptions struct {
	TemplateFile string
	Template     string
	Expr         string
	LeftDelim    string
	RightDelim   string
	Output       string
}

RefsOptions holds options for the refs command

type RefsOutput

type RefsOutput struct {
	Source     string   `json:"source" yaml:"source"`
	SourceType string   `json:"sourceType" yaml:"sourceType"`
	References []string `json:"references" yaml:"references"`
	Count      int      `json:"count" yaml:"count"`
}

RefsOutput represents the output structure for refs command

Jump to

Keyboard shortcuts

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