mirror of
https://github.com/NCBM/plyngent.git
synced 2026-07-23 05:55:16 +08:00
core/tools: register glob_paths and grep_files in DEFAULT_TOOLS
Wire new search tools into FILE_TOOLS and document them.
This commit is contained in:
@@ -4,6 +4,8 @@ from .file import copy_path as copy_path
|
||||
from .file import delete_path as delete_path
|
||||
from .file import edit_lineno as edit_lineno
|
||||
from .file import edit_replace as edit_replace
|
||||
from .file import glob_paths as glob_paths
|
||||
from .file import grep_files as grep_files
|
||||
from .file import listdir as listdir
|
||||
from .file import move_path as move_path
|
||||
from .file import read_file as read_file
|
||||
|
||||
@@ -3,6 +3,8 @@ from .edit_replace import edit_replace as edit_replace
|
||||
from .fs_ops import copy_path as copy_path
|
||||
from .fs_ops import delete_path as delete_path
|
||||
from .fs_ops import move_path as move_path
|
||||
from .glob_paths import glob_paths as glob_paths
|
||||
from .grep_files import grep_files as grep_files
|
||||
from .listdir import listdir as listdir
|
||||
from .read import read_file as read_file
|
||||
from .tree import tree as tree
|
||||
@@ -13,6 +15,8 @@ FILE_TOOLS = [
|
||||
write_file,
|
||||
listdir,
|
||||
tree,
|
||||
glob_paths,
|
||||
grep_files,
|
||||
edit_replace,
|
||||
edit_lineno,
|
||||
copy_path,
|
||||
|
||||
Reference in New Issue
Block a user