summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-09 19:18:19 -0500
committerDrew DeVault <sir@cmpwn.com>2018-01-09 19:28:43 -0500
commit39c93d2897af5bb0c145ef4f99f542bf42babdab (patch)
tree4a3d3ac3553b2d2f31960a7af35ea286b62597d7 /cmd
parentaeb700577b5b2955c75093129e01de49b92f124f (diff)
downloadaerc-39c93d2897af5bb0c145ef4f99f542bf42babdab.tar.gz
Load UI configuration
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 24dcac8..96a8e0c 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)
 }