cmd: allow import/running ctrld as library

This commit is contained in:
Ginder Singh
2023-09-18 11:40:03 +00:00
committed by Cuong Manh Le
parent 2765487f10
commit 507c1afd59
8 changed files with 379 additions and 219 deletions
+15
View File
@@ -0,0 +1,15 @@
package cli
type AppCallback struct {
HostName func() string
LanIp func() string
MacAddress func() string
Exit func(error string)
}
type AppConfig struct {
CdUID string
HomeDir string
Verbose int
LogPath string
}