pat/cli/env.go
Martin Hebnes Pedersen 6ae942e13b Refactor to prepare for hot reloading of config
* Remove singletons
* Split into app, cli and api packages

Ref #6
2025-06-14 07:50:42 +02:00

13 lines
192 B
Go

package cli
import (
"context"
"fmt"
"strings"
"github.com/la5nta/pat/app"
)
func EnvHandle(_ context.Context, app *app.App, _ []string) {
fmt.Println(strings.Join(app.Env(), "\n"))
}