mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 04:30:57 +01:00
fixed error handling, added list command, switched to koanf
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user