mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
aaf99d7a30
* * add clear command to clear chat history * check nil * * update comment
18 lines
467 B
Go
18 lines
467 B
Go
package commands
|
|
|
|
// BuiltinDefinitions returns all built-in command definitions.
|
|
// Each command group is defined in its own cmd_*.go file.
|
|
// Definitions are stateless — runtime dependencies are provided
|
|
// via the Runtime parameter passed to handlers at execution time.
|
|
func BuiltinDefinitions() []Definition {
|
|
return []Definition{
|
|
startCommand(),
|
|
helpCommand(),
|
|
showCommand(),
|
|
listCommand(),
|
|
switchCommand(),
|
|
checkCommand(),
|
|
clearCommand(),
|
|
}
|
|
}
|