agent/cmd/core-agent/commands_example_test.go
Snider ecd47fe3db revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-18 11:22:27 +00:00

22 lines
397 B
Go

// SPDX-License-Identifier: EUPL-1.2
package main
import (
"dappco.re/go/core"
)
func Example_registerApplicationCommands() {
c := core.New(core.WithOption("name", "core-agent"))
registerApplicationCommands(c)
core.Println(len(c.Commands()))
// Output: 3
}
func Example_applyLogLevel() {
args := applyLogLevel([]string{"--debug", "status"})
core.Println(args[0])
// Output: status
}