Tags: joshmedeski/sesh
Tags
Add man page generation to build and release pipeline (#341) Wire the hidden `sesh man` subcommand (provided by fang/mango-cobra) into the justfile, goreleaser hooks, archives, brew formula, and AUR package so man pages are built and distributed automatically.
Add --config/-C global flag for custom config path (#325) * Add --config/-C global flag for custom config file path Allow users to specify a custom config file path via --config/-C flag, enabling use cases like NixOS wrappers, multiple contexts (work/private), and testing with different configurations. The flag is pre-parsed from os.Args before the DI graph is constructed, keeping the existing eager initialization architecture intact. * Add README instructions for custom config path * Clean up config flag to work properly * Refactor DI to lazy construction for --config flag Replace eager DI in NewRootCommand with lazy construction in each subcommand's RunE. This eliminates the extractConfigFlag hack in main.go, makes --config/-C a normal cobra PersistentFlag, and returns config errors cleanly instead of panicking.
PreviousNext