- I think it would be better if one for commands only, one for the spec handling core logic so people won't be confused by the core logic inside the commands folder (cleaner I guess) - Regen docs
19 lines
431 B
Go
19 lines
431 B
Go
package js
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "dotenv",
|
|
Description: "Loads environment variables from .env",
|
|
Options: []spec.Option{
|
|
{Name: "-f", Description: "List of env files to parse"},
|
|
{Name: "-h", Description: "Display help"},
|
|
{Name: "-v", Description: "Show version"},
|
|
{Name: "-t", Description: "Create a template env file"},
|
|
},
|
|
})
|
|
}
|