MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / preRun

Function preRun

cmd/main.go:54–81  ·  view source on GitHub ↗

preRun sets up the configuration and initializes the LedgerForge instance before running any command. It ensures that the configuration is loaded, and the LedgerForge instance is initialized properly.

(app *ledgerforgeInstance, configFile *string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewCLIFunction · 0.85

Calls 5

InitConfigFunction · 0.92
FetchFunction · 0.92
NotifyErrorFunction · 0.92
setupLedgerForgeFunction · 0.70
FatalMethod · 0.45

Tested by

no test coverage detected