defaults

package
v0.0.13-beta Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package defaults implements the defaults dump subcommand for godyl. It displays the application's default configuration settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(cfg *config.Config, files config.Embedded) *cobra.Command

NewCommand creates a cobra.Command instance for the defaults dump subcommand.

Types

type Command

type Command struct {
	// Command is the defaults cobra.Command instance
	Command *cobra.Command
}

Command encapsulates the defaults dump command with its associated configuration.

func NewDefaultsCommand

func NewDefaultsCommand(cfg *config.Config, embedded config.Embedded) *Command

NewDefaultsCommand creates a Command for displaying default configuration settings.

func (*Command) Flags

func (cmd *Command) Flags()

Jump to

Keyboard shortcuts

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