summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 06:59:14 -0500
committerJeff Carr <[email protected]>2025-10-16 06:59:14 -0500
commit86bc669b5c5c291ccaf9a7872c2b24b3e39bbcb7 (patch)
treeb68e3b2f69c167b7cf9cb4ba7b1fa5c06286c77c /init.go
parentfa7671233aba6b4e17505c8f8b39af5fa9a755d8 (diff)
more work on new user flow
Diffstat (limited to 'init.go')
-rw-r--r--init.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.go b/init.go
index 4b22120..fc5b949 100644
--- a/init.go
+++ b/init.go
@@ -24,9 +24,9 @@ func Default(opts ...OptionFunc) *Engine {
*/
-func Init() *Forge {
- cfg := loadStdConfig() // will also handle new users
- return initFromConfig(cfg)
+func Init() (*Forge, error) {
+ cfg := LoadStdConfig() // will also handle new users
+ return initFromConfig(cfg), nil
}
func InitByAppname(argname string) *Forge {