cmd

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command. The CLI deliberately does NOT load .env into its own process env — that would mutate global state and leak stale values into spawned children's envs (a subtle bug where edits to .env wouldn't reach live-reloaded site binaries because their godotenv/autoload skipped already-set vars). The one CLI command that needs .env values (`hamr sync` for S3 creds) reads them in a scoped way via flagOrEnv → devserver.ReadDotenvKey.

Types

This section is empty.

Jump to

Keyboard shortcuts

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