Versions in this module Expand all Collapse all v0 v0.5.0 Mar 15, 2026 v0.4.0 May 31, 2025 Changes in this version + const CommandPromptDefault + const CommandServerName + var ErrCommandNotAllowed = fmt.Errorf("command not allowed") + var ErrCommandNotFound = fmt.Errorf("command not found") + func ExecCommand(command string) (string, error) + func NewCommandServer(ctx context.Context) (abstract.Service, error) + type CommandConfig struct + AllowedCommand string + PromptFile string + func NewCommandConfig() *CommandConfig + func (cc *CommandConfig) Check() error + type CommandServer struct + func (cs *CommandServer) Close() error + func (cs *CommandServer) Config() string + func (cs *CommandServer) Init() error + func (cs *CommandServer) LoadConfig(jsonData map[string]any) error + func (cs *CommandServer) Name() comm.MoLingServerType