aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/aerc/main.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go
index 24dcac87..96a8e0c1 100644
--- a/cmd/aerc/main.go
+++ b/cmd/aerc/main.go
@@ -2,8 +2,17 @@ package main
import (
"fmt"
+
+ "git.sr.ht/~sircmpwn/aerc2/config"
)
func main() {
- fmt.Println("Hello world")
+ var (
+ c *config.AercConfig
+ err error
+ )
+ if c, err = config.LoadConfig(nil); err != nil {
+ panic(err)
+ }
+ fmt.Printf("%+v\n", *c)
}