generated from silverbulletmd/silverbullet-plug-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
grep.plug.yaml
60 lines (59 loc) · 1.4 KB
/
grep.plug.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: grep
requiredPermissions:
- shell
functions:
showVersion:
path: grep.ts:showVersion
command:
name: "Grep: Version"
priority: -2
searchText:
path: grep.ts:searchText
command:
name: "Grep: Search Literal Text"
priority: 1
searchRegex:
path: grep.ts:searchRegex
command:
name: "Grep: Search Regex Pattern"
priority: 1
searchTextInFolder:
path: grep.ts:searchTextInFolder
command:
name: "Grep: Literal Text Inside Current Folder"
searchRegexInFolder:
path: grep.ts:searchRegexInFolder
command:
name: "Grep: Regex Pattern Inside Current Folder"
readPageGrepResult:
path: grep.ts:readFileGrepResult
pageNamespace:
pattern: "GREP RESULT 🔍"
operation: readFile
writePageGrepResult:
path: grep.ts:writeFileGrepResult
pageNamespace:
pattern: "GREP RESULT 🔍"
operation: readFile
getPageMetaGrepResult:
path: grep.ts:getFileMetaGrepResult
pageNamespace:
pattern: "GREP RESULT 🔍"
operation: getFileMeta
config:
schema.config.properties.grep:
type: object
properties:
saveResults:
type: boolean
smartCase:
type: boolean
surround:
anyOf:
- const: false
- type: object
properties:
left:
type: string
right:
type: string