On this page
Defines the strictcli application with subcommands for version, profile management, demo animation, color preview, and config display.
#internal/cli
#internal/cli
#SetVersion
func SetVersion(v string)SetVersion sets the application version string.
#RunStatuslineDirect
func RunStatuslineDirect() boolRunStatuslineDirect checks if stdin is piped and runs the statusline. Returns true if it handled the invocation (caller should exit), false otherwise.
#NewApp
func NewApp() *strictcli.AppNewApp builds and returns the strictcli application.
Every command is classified strictcli.EffectMutating, including the ones that only print. That is not a rubber stamp: every handler opens with runMigrations(), which converts a legacy ~/.config/howmuchleft.json to TOML (renaming the original to .bak) and writes any missing settings into ~/.config/howmuchleft/config.toml. Those are user-visible filesystem mutations, so no command here can honestly claim read_only. classification_test.go pins the table.