config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package config provides formatted output helpers for the config command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProfileStatus

func ProfileStatus(cmd *cobra.Command, profile string)

ProfileStatus prints the active profile status line. Nil cmd is a no-op.

Parameters:

  • cmd: Cobra command for output
  • profile: Detected profile name (dev, base, or empty)

func Schema

func Schema(cmd *cobra.Command, data []byte)

Schema prints the raw JSON schema content. Nil cmd is a no-op.

Parameters:

  • cmd: Cobra command for output
  • data: Raw schema bytes to display

func SwitchConfirm

func SwitchConfirm(cmd *cobra.Command, msg string)

SwitchConfirm prints the profile switch confirmation message. Nil cmd is a no-op.

Parameters:

  • cmd: Cobra command for output
  • msg: Confirmation message from the switch operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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