add import+export, json output, humanize wide output, fixes

This commit is contained in:
2024-12-18 14:06:21 +01:00
parent 9e6bbd5419
commit 332eed679e
11 changed files with 570 additions and 122 deletions

View File

@@ -5,10 +5,11 @@ import "github.com/tlinden/anydb/app"
var Version string = "v0.0.1"
type Config struct {
Debug bool
Dbfile string
Mode string // wide, table, yaml, json
DB *app.DB
File string
Tags []string
Debug bool
Dbfile string
Mode string // wide, table, yaml, json
NoHeaders bool
DB *app.DB
File string
Tags []string
}