fixed error handling, added list command, switched to koanf

This commit is contained in:
2023-03-07 20:06:13 +01:00
parent cd0939cbc8
commit 50660da26a
16 changed files with 391 additions and 159 deletions

View File

@@ -26,11 +26,17 @@ const Version string = "v0.0.1"
var VERSION string // maintained by -x
type Config struct {
// globals
Endpoint string
Debug bool
Retries int
Expire string
Apikey string
// upload
Expire string
// list
Apicontext string
}
func Getversion() string {