env

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: 5 Imported by: 0

Documentation

Overview

Package env implements the env dump subcommand for godyl. It displays information about the environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(cfg *config.Config) *cobra.Command

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

Types

type Command

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

Command encapsulates the env dump command with its associated configuration.

func NewEnvCommand

func NewEnvCommand(cfg *config.Config) *Command

NewEnvCommand creates a Command for displaying environment information.

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