mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-09 21:04:49 +08:00
Go CLI: fix show variable (#16370)
### What problem does this PR solve? ``` RAGFlow(api/default)> show var 'mail.port'; +-----------+-----------+--------------+-------+ | data_type | name | setting_type | value | +-----------+-----------+--------------+-------+ | integer | mail.port | config | 30 | +-----------+-----------+--------------+-------+ ``` ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -330,6 +330,8 @@ func (c *CLI) ExecuteUserCommand(cmd *Command) (ResponseIf, error) {
|
||||
return c.APISetAPIKeyCommand(cmd)
|
||||
case "api_set_variable":
|
||||
return c.APISetVariableCommand(cmd)
|
||||
case "api_show_variable":
|
||||
return c.APIShowVariableCommand(cmd)
|
||||
case "api_unset_api_key":
|
||||
return c.APIUnsetAPIKeyCommand(cmd)
|
||||
case "api_show_version":
|
||||
|
||||
Reference in New Issue
Block a user