view

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package view implements the `variable view` subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdView

func NewCmdView(f *factory.Factory, runF func(*Options) error) *cobra.Command

NewCmdView builds the `variable view` cobra command.

Types

type Options

type Options struct {
	Output   format.OutputConfig
	Hostname string
	Scope    string // "repository" (default) | "workspace" | "deployment"
	EnvUUID  string // required when scope=deployment

	// Args[0] = PROJECT/REPO (optional), Args[last] = KEY
	Args []string
}

Options holds parsed flags for `variable view`.

Jump to

Keyboard shortcuts

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