From 437fa939183690e4bcc716e62b94391ddd8d1225 Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 7 Apr 2026 12:28:54 +0100 Subject: [PATCH] fix: remove local replace directives and fix core.New API call Co-Authored-By: Virgil --- go.mod | 6 ------ pkg/cli/runtime.go | 5 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 4622a42..0f9486a 100644 --- a/go.mod +++ b/go.mod @@ -42,9 +42,3 @@ require ( golang.org/x/text v0.35.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -replace ( - dappco.re/go/core/config => /Users/snider/Code/core/config - dappco.re/go/core/help => /Users/snider/Code/go-help - dappco.re/go/core/lint => /Users/snider/Code/core/lint -) diff --git a/pkg/cli/runtime.go b/pkg/cli/runtime.go index 28cec08..61a2604 100644 --- a/pkg/cli/runtime.go +++ b/pkg/cli/runtime.go @@ -77,9 +77,8 @@ func Init(opts Options) error { } // Create Core with app identity - c := core.New(core.Options{ - {Key: "name", Value: opts.AppName}, - }) + c := core.New() + c.App().Name = opts.AppName c.App().Version = opts.Version c.App().Runtime = rootCmd