mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
2a6ade0fe4
* feat: add /reload to gateway api and command * prevent duplicate reload request in same time
19 lines
486 B
Go
19 lines
486 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(),
|
|
reloadCommand(),
|
|
}
|
|
}
|