configcmd

package
v0.263.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package configcmd implements `ofga config`: inspect where ofga's configuration lives and what it resolves to.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInit

func NewInit(c *cli.CLI) *cobra.Command

NewInit builds the top-level `ofga init` onboarding command. On a terminal it prompts for missing values; non-interactively it uses flags and defaults, so it is safe to run in CI.

func NewTheme

func NewTheme(c *cli.CLI) *cobra.Command

NewTheme builds the top-level `ofga theme` command. The theme is a global setting (not per-profile), so it lives here rather than under `profiles`.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is the `config` command group.

func New

func New(c *cli.CLI) *Command

New builds the config command group.

func (*Command) Command

func (c *Command) Command() *cobra.Command

Command returns the cobra command.

Jump to

Keyboard shortcuts

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