fix: remove local replace directives and fix core.New API call

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-04-07 12:28:54 +01:00
parent b541ce7657
commit 437fa93918
2 changed files with 2 additions and 9 deletions

6
go.mod
View file

@ -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
)

View file

@ -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