bubblewand/templates
2025-07-24 00:25:57 -04:00
..
cmd updated root.go to add config support 2025-07-23 22:25:38 -04:00
config updated tmpls to use internal logger 2025-07-22 04:55:32 -04:00
internal/logger refactored render to internal/render added logging with charmbracelet/log 2025-07-22 03:39:21 -04:00
tui MVP 2025-07-22 02:55:00 -04:00
.envrc.tmpl added .envrc to templates 2025-07-22 05:09:31 -04:00
flake.nix.tmpl MVP 2025-07-22 02:55:00 -04:00
go.mod.tmpl added .envrc to templates 2025-07-22 05:09:31 -04:00
go.sum.tmpl added go sum to tmpls 2025-07-22 04:57:15 -04:00
justfile.tmpl MVP 2025-07-22 02:55:00 -04:00
main.go.tmpl MVP 2025-07-22 02:55:00 -04:00
README.md.tmpl updated readme to breakdown project structure and show requirements of nix and direnv 2025-07-24 00:25:57 -04:00

# {{.PackageName}}

## TLDR;
{{.ProgramDesc}}


## Getting started

- make sure you have [nix](https://nixos.org/download/) and [direnv](https://direnv.net/) installed
- run `direnv allow`
- start coding in your desired editor

### Project structure
./
├── cmd
│   ├── root.go -> the entrypoint for your cli
│   └── version.go -> an example sub command
├── config
│   └── config.go -> viper configuration init
├── flake.nix -> project flake for packaging and devshell
├── go.mod -> go module config
├── go.sum
├── internal
│   └── logger
│       └── logger.go -> charmbracelet/log logger init
├── justfile -> rusty makefile used to ease development environment commands
├── main.go -> app entrypoint
├── README.md -> YOU ARE HERE.
└── tui
    ├── model.go -> bubbletea model data goes here
    ├── run.go -> tui entrypoint
    ├── update.go -> bubbletea model update functions go here
    └── view.go -> bubbletea view functions go here

### Generating sub-commands
use cobra-cli to generate sub-commands