env

package
v0.180.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ExampleFileName = ".env.example"

ExampleFileName is the name of the .env.example file

Variables

This section is empty.

Functions

func EnsureEnvInGitignore

func EnsureEnvInGitignore() error

ensureEnvInGitignore ensures that .env is listed in the root .gitignore file. If .gitignore doesn't exist, it creates one with .env entry. If .gitignore exists but doesn't contain .env, it appends it.

func ExampleContent

func ExampleContent() string

ExampleContent generates the content for .env.example

func NewCommand

func NewCommand() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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