mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-06-28 06:46:12 +00:00
✨ Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -44,7 +44,7 @@ var refBacklinksCmd = &cobra.Command{
|
||||
keyword, _ := cmd.Flags().GetString("keyword")
|
||||
sortMode, _ := cmd.Flags().GetInt("sort")
|
||||
|
||||
_, backlinks, _, count, _ := model.GetBacklink2(id, keyword, "", sortMode, 0, false)
|
||||
_, backlinks, _, count, _ := model.GetBacklink2(id, keyword, "", sortMode, 0, model.Conf.Editor.BacklinkContainChildren)
|
||||
|
||||
switch outputFormat {
|
||||
case "json":
|
||||
@@ -71,7 +71,7 @@ var refMentionsCmd = &cobra.Command{
|
||||
keyword, _ := cmd.Flags().GetString("keyword")
|
||||
sortMode, _ := cmd.Flags().GetInt("sort")
|
||||
|
||||
_, _, backmentions, _, count := model.GetBacklink2(id, "", keyword, 0, sortMode, false)
|
||||
_, _, backmentions, _, count := model.GetBacklink2(id, "", keyword, 0, sortMode, model.Conf.Editor.BacklinkContainChildren)
|
||||
|
||||
switch outputFormat {
|
||||
case "json":
|
||||
|
||||
Reference in New Issue
Block a user