chore(cmd): improves error messaging across the board

This commit is contained in:
Lewis Wynne 2025-12-17 14:49:24 +00:00
parent def2941128
commit fcae0bd4df
6 changed files with 37 additions and 47 deletions

View file

@ -40,7 +40,7 @@ func listDbs(cmd *cobra.Command, args []string) error {
store := &Store{}
dbs, err := store.AllStores()
if err != nil {
return err
return fmt.Errorf("cannot list-dbs: %v", err)
}
for _, db := range dbs {
fmt.Println("@" + db)