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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.