@enjoys/context-engine 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/data/commands/adb.json +322 -0
  2. package/data/commands/alembic.json +301 -0
  3. package/data/commands/artisan.json +277 -0
  4. package/data/commands/atlas.json +426 -0
  5. package/data/commands/auth0.json +648 -0
  6. package/data/commands/bat.json +84 -0
  7. package/data/commands/bundle.json +321 -0
  8. package/data/commands/composer.json +507 -0
  9. package/data/commands/dart.json +216 -0
  10. package/data/commands/dbmate.json +257 -0
  11. package/data/commands/docker-compose.json +384 -0
  12. package/data/commands/drizzle-kit.json +217 -0
  13. package/data/commands/expo.json +65 -0
  14. package/data/commands/fastlane.json +243 -0
  15. package/data/commands/fd.json +86 -0
  16. package/data/commands/flutter.json +298 -0
  17. package/data/commands/flyway.json +261 -0
  18. package/data/commands/fzf.json +103 -0
  19. package/data/commands/gem.json +267 -0
  20. package/data/commands/jq.json +100 -0
  21. package/data/commands/k9s.json +62 -0
  22. package/data/commands/liquibase.json +399 -0
  23. package/data/commands/manifest.json +619 -0
  24. package/data/commands/minikube.json +60 -0
  25. package/data/commands/ng.json +64 -0
  26. package/data/commands/nuxt.json +60 -0
  27. package/data/commands/php.json +157 -0
  28. package/data/commands/pm2.json +259 -0
  29. package/data/commands/pod.json +175 -0
  30. package/data/commands/prisma.json +257 -0
  31. package/data/commands/rails.json +372 -0
  32. package/data/commands/rake.json +360 -0
  33. package/data/commands/react-native.json +57 -0
  34. package/data/commands/rg.json +103 -0
  35. package/data/commands/rspec.json +257 -0
  36. package/data/commands/ruby.json +108 -0
  37. package/data/commands/sequelize.json +342 -0
  38. package/data/commands/snyk.json +442 -0
  39. package/data/commands/sonar-scanner.json +219 -0
  40. package/data/commands/stripe.json +314 -0
  41. package/data/commands/symfony.json +449 -0
  42. package/data/commands/tmux.json +197 -0
  43. package/data/commands/trivy.json +367 -0
  44. package/data/commands/twilio.json +382 -0
  45. package/data/commands/typeorm.json +262 -0
  46. package/data/commands/vue.json +60 -0
  47. package/data/commands/wp.json +857 -0
  48. package/data/commands/xcodebuild.json +141 -0
  49. package/data/commands/yq.json +57 -0
  50. package/data/completion/bash.json +1184 -0
  51. package/data/completion/c.json +1067 -0
  52. package/data/completion/cpp.json +824 -0
  53. package/data/completion/csharp.json +860 -0
  54. package/data/completion/dockerfile.json +536 -0
  55. package/data/completion/go.json +1346 -0
  56. package/data/completion/html.json +806 -0
  57. package/data/completion/java.json +1112 -0
  58. package/data/completion/javascript.json +914 -0
  59. package/data/completion/lua.json +968 -0
  60. package/data/completion/php.json +1535 -0
  61. package/data/completion/python.json +1427 -0
  62. package/data/completion/ruby.json +1531 -0
  63. package/data/completion/rust.json +698 -0
  64. package/data/completion/sql.json +887 -0
  65. package/data/completion/toml.json +428 -0
  66. package/data/completion/typescript.json +338 -0
  67. package/data/completion/yaml.json +563 -0
  68. package/data/defination/bash.json +565 -0
  69. package/data/defination/c.json +865 -0
  70. package/data/defination/cpp.json +348 -0
  71. package/data/defination/csharp.json +144 -0
  72. package/data/defination/dockerfile.json +113 -0
  73. package/data/defination/go.json +561 -0
  74. package/data/defination/html.json +559 -0
  75. package/data/defination/java.json +184 -0
  76. package/data/defination/javascript.json +265 -0
  77. package/data/defination/lua.json +181 -0
  78. package/data/defination/php.json +726 -0
  79. package/data/defination/python.json +717 -0
  80. package/data/defination/ruby.json +670 -0
  81. package/data/defination/rust.json +207 -0
  82. package/data/defination/sql.json +473 -0
  83. package/data/defination/toml.json +251 -0
  84. package/data/defination/typescript.json +29 -0
  85. package/data/defination/yaml.json +197 -0
  86. package/data/hover/bash.json +245 -0
  87. package/data/hover/c.json +265 -0
  88. package/data/hover/cpp.json +210 -0
  89. package/data/hover/csharp.json +290 -0
  90. package/data/hover/dockerfile.json +145 -0
  91. package/data/hover/go.json +580 -0
  92. package/data/hover/html.json +250 -0
  93. package/data/hover/java.json +395 -0
  94. package/data/hover/javascript.json +330 -0
  95. package/data/hover/lua.json +265 -0
  96. package/data/hover/php.json +300 -0
  97. package/data/hover/python.json +380 -0
  98. package/data/hover/ruby.json +265 -0
  99. package/data/hover/rust.json +275 -0
  100. package/data/hover/sql.json +230 -0
  101. package/data/hover/toml.json +145 -0
  102. package/data/hover/typescript.json +120 -0
  103. package/data/hover/yaml.json +165 -0
  104. package/data/manifest.json +242 -0
  105. package/package.json +1 -1
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "bat",
3
+ "description": "A cat clone with syntax highlighting and Git integration. It provides syntax highlighting for a large number of programming and markup languages, shows git modifications, and integrates with other tools by design.",
4
+ "category": "utilities",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [],
8
+ "globalOptions": [
9
+ { "name": "--language", "short": "-l", "description": "Explicitly set the language for syntax highlighting. The language can be specified as a name or file extension (e.g. 'py', 'python', 'rs')", "type": "string" },
10
+ { "name": "--list-languages", "short": "-L", "description": "Display a list of supported languages for syntax highlighting", "type": "boolean" },
11
+ { "name": "--theme", "description": "Set the theme for syntax highlighting. Use --list-themes to see all available themes. Use 'bat --list-themes | fzf --preview=\"bat --theme={} --color=always file\"' to preview", "type": "string" },
12
+ { "name": "--list-themes", "description": "Display a list of supported themes for syntax highlighting", "type": "boolean" },
13
+ { "name": "--style", "description": "Configure which elements to display with the output. Comma-separated list of components: full, auto, plain, changes, header, header-filename, header-filesize, grid, rule, numbers, snip", "type": "string" },
14
+ { "name": "--color", "description": "Control when to use colored output. Values: auto (default), never, always", "type": "string" },
15
+ { "name": "--italic-text", "description": "Enable or disable the use of italic text in the output. Values: always, never (default)", "type": "string" },
16
+ { "name": "--decorations", "description": "Control when to show decorations (line numbers, grid borders, header). Values: auto (default), never, always", "type": "string" },
17
+ { "name": "--force-colorization", "short": "-f", "description": "Force colorization even when piping output to another process. Alias for --decorations=always --color=always", "type": "boolean" },
18
+ { "name": "--paging", "description": "Control when to use the pager. Values: auto (default), never, always. Auto pages when output is larger than one screen", "type": "string" },
19
+ { "name": "--pager", "description": "Determine which pager to use. The default pager is 'less'. To control when the pager is used, use --paging", "type": "string" },
20
+ { "name": "--map-syntax", "short": "-m", "description": "Map a glob pattern to an existing syntax name. Usage: --map-syntax '*.build:Python' or --map-syntax 'Dockerfile*:Docker'", "type": "string" },
21
+ { "name": "--show-all", "short": "-A", "description": "Show non-printable characters like space, tab, and newline. Use --nonprintable-notation to control the notation", "type": "boolean" },
22
+ { "name": "--plain", "short": "-p", "description": "Only show plain style with no decorations. Equivalent to --style=plain. Use -pp to also disable paging (equivalent to -p --paging=never)", "type": "boolean" },
23
+ { "name": "--number", "short": "-n", "description": "Only show line numbers while suppressing the grid and header. Equivalent to --style=numbers", "type": "boolean" },
24
+ { "name": "--diff", "short": "-d", "description": "Only show lines that have been added/removed/modified with respect to the Git index. Use --diff-context to control the number of context lines", "type": "boolean" },
25
+ { "name": "--diff-context", "description": "Include N lines of context around added/removed/modified lines when using --diff. Default: 2", "type": "string" },
26
+ { "name": "--tabs", "description": "Set the tab width in spaces. Use 0 to pass tabs through directly. Default: 4", "type": "string" },
27
+ { "name": "--wrap", "description": "Specify the text-wrapping mode. Values: auto (default), never, character", "type": "string" },
28
+ { "name": "--terminal-width", "description": "Explicitly set the width of the terminal instead of detecting it automatically. Can use +N and -N for relative values", "type": "string" },
29
+ { "name": "--line-range", "short": "-r", "description": "Only print the specified range of lines for each file. e.g. '30:40' (lines 30-40), ':40' (first 40 lines), '40:' (from line 40)", "type": "string" },
30
+ { "name": "--highlight-line", "short": "-H", "description": "Highlight the specified line ranges. Can be specified multiple times. e.g. --highlight-line 40 or --highlight-line 30:40", "type": "string" },
31
+ { "name": "--file-name", "description": "Specify the name to display for a file. Useful when piping data to bat from STDIN and you want a meaningful header", "type": "string" },
32
+ { "name": "--strip-ansi", "description": "Specify when to strip ANSI escape sequences from the input. Values: auto (default), always, never", "type": "string" },
33
+ { "name": "--nonprintable-notation", "description": "Set the notation for non-printable characters when using --show-all. Values: unicode (default), caret", "type": "string" },
34
+ { "name": "--squeeze-blank", "short": "-s", "description": "Squeeze consecutive empty lines into a single empty line", "type": "boolean" },
35
+ { "name": "--squeeze-limit", "description": "Set the maximum number of consecutive empty lines to be printed when using --squeeze-blank. Default: 1", "type": "string" }
36
+ ],
37
+ "examples": [
38
+ "bat README.md",
39
+ "bat -l json data.txt",
40
+ "bat --theme='Monokai Extended' src/main.rs",
41
+ "bat --style=numbers,changes file.py",
42
+ "bat -r 10:20 large.log",
43
+ "bat --diff file1 file2",
44
+ "bat -pp Makefile",
45
+ "cat file.txt | bat -l sql",
46
+ "bat --list-themes | fzf --preview='bat --theme={} --color=always README.md'",
47
+ "bat -H 42 -r 35:50 main.py",
48
+ "bat --map-syntax '*.conf:INI' /etc/*.conf",
49
+ "bat --style=full --paging=always src/*.ts"
50
+ ],
51
+ "relatedCommands": ["cat", "less", "fzf"],
52
+ "contextEngine": {
53
+ "detectors": [
54
+ {
55
+ "name": "bat_version",
56
+ "description": "Detect bat version",
57
+ "command": "bat --version",
58
+ "parser": "lines",
59
+ "cacheFor": 300
60
+ },
61
+ {
62
+ "name": "bat_config_file",
63
+ "description": "Detect bat configuration file location",
64
+ "command": "bat --config-file",
65
+ "parser": "lines",
66
+ "cacheFor": 300
67
+ },
68
+ {
69
+ "name": "bat_config_dir",
70
+ "description": "Detect bat configuration directory for custom themes and syntaxes",
71
+ "command": "bat --config-dir",
72
+ "parser": "lines",
73
+ "cacheFor": 300
74
+ },
75
+ {
76
+ "name": "bat_theme",
77
+ "description": "Detect BAT_THEME environment variable",
78
+ "command": "echo $BAT_THEME",
79
+ "parser": "lines",
80
+ "cacheFor": 30
81
+ }
82
+ ]
83
+ }
84
+ }
@@ -0,0 +1,321 @@
1
+ {
2
+ "name": "bundle",
3
+ "description": "Manage your Ruby application's dependencies",
4
+ "category": "package-manager",
5
+ "platforms": [
6
+ "linux",
7
+ "macos",
8
+ "windows"
9
+ ],
10
+ "shells": [
11
+ "bash",
12
+ "zsh",
13
+ "fish",
14
+ "powershell"
15
+ ],
16
+ "subcommands": [
17
+ {
18
+ "name": "install",
19
+ "description": "Install the dependencies specified in your Gemfile",
20
+ "args": [],
21
+ "options": [
22
+ {
23
+ "name": "--binstubs",
24
+ "description": "Generate bin stubs for bundled gems to ./bin"
25
+ },
26
+ {
27
+ "name": "--clean",
28
+ "description": "Run bundle clean automatically after install"
29
+ },
30
+ {
31
+ "name": "--deployment",
32
+ "description": "Install using defaults tuned for deployment environments"
33
+ },
34
+ {
35
+ "name": "--gemfile",
36
+ "description": "Use the specified gemfile instead of Gemfile",
37
+ "type": "path"
38
+ },
39
+ {
40
+ "name": "--path",
41
+ "description": "Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME).",
42
+ "type": "path"
43
+ },
44
+ {
45
+ "name": "--without",
46
+ "description": "Exclude gems that are part of the specified named group.",
47
+ "type": "string"
48
+ },
49
+ {
50
+ "name": "--with",
51
+ "description": "Include gems that are part of the specified named group.",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "--no-cache",
56
+ "description": "Do not update the cache in vendor/cache with the newly bundled gems."
57
+ },
58
+ {
59
+ "name": "--quiet",
60
+ "description": "Only output warnings and errors."
61
+ }
62
+ ],
63
+ "examples": [
64
+ "bundle install",
65
+ "bundle install --without test development",
66
+ "bundle install --path vendor/bundle"
67
+ ]
68
+ },
69
+ {
70
+ "name": "update",
71
+ "description": "Update your gems to the latest available versions",
72
+ "args": [
73
+ {
74
+ "name": "[*gems]",
75
+ "type": "string",
76
+ "required": false,
77
+ "description": "Specific gems to update"
78
+ }
79
+ ],
80
+ "options": [
81
+ {
82
+ "name": "--all",
83
+ "description": "Update all gems specified in Gemfile."
84
+ },
85
+ {
86
+ "name": "--group",
87
+ "short": "-g",
88
+ "description": "Update a specific group of gems.",
89
+ "type": "string"
90
+ },
91
+ {
92
+ "name": "--source",
93
+ "description": "The name of a :git or :path source used in the Gemfile.",
94
+ "type": "string"
95
+ },
96
+ {
97
+ "name": "--local",
98
+ "description": "Do not attempt to fetch gems remotely and use the gem cache instead."
99
+ },
100
+ {
101
+ "name": "--ruby",
102
+ "description": "Update ruby declaration in Gemfile.lock."
103
+ },
104
+ {
105
+ "name": "--bundler",
106
+ "description": "Update the locked version of bundler to the invoked bundler version."
107
+ }
108
+ ],
109
+ "examples": [
110
+ "bundle update",
111
+ "bundle update rails",
112
+ "bundle update --group development"
113
+ ]
114
+ },
115
+ {
116
+ "name": "exec",
117
+ "description": "Execute a command in the context of the bundle",
118
+ "args": [
119
+ {
120
+ "name": "command",
121
+ "type": "string",
122
+ "required": true,
123
+ "description": "Command to execute"
124
+ },
125
+ {
126
+ "name": "[args...]",
127
+ "type": "string",
128
+ "required": false,
129
+ "description": "Arguments for the command"
130
+ }
131
+ ],
132
+ "options": [
133
+ {
134
+ "name": "--keep-file-descriptors",
135
+ "description": "Exec in Ruby 2.0 began discarding non-standard file descriptors."
136
+ }
137
+ ],
138
+ "examples": [
139
+ "bundle exec rake db:migrate",
140
+ "bundle exec rspec",
141
+ "bundle exec rails server"
142
+ ]
143
+ },
144
+ {
145
+ "name": "add",
146
+ "description": "Add gem to the Gemfile and run bundle install",
147
+ "args": [
148
+ {
149
+ "name": "GEM",
150
+ "type": "string",
151
+ "required": true,
152
+ "description": "Name of the gem to add"
153
+ }
154
+ ],
155
+ "options": [
156
+ {
157
+ "name": "--version",
158
+ "short": "-v",
159
+ "description": "Specify version requirements.",
160
+ "type": "string"
161
+ },
162
+ {
163
+ "name": "--group",
164
+ "short": "-g",
165
+ "description": "Specify a group.",
166
+ "type": "string"
167
+ },
168
+ {
169
+ "name": "--source",
170
+ "short": "-s",
171
+ "description": "Specify a source.",
172
+ "type": "string"
173
+ },
174
+ {
175
+ "name": "--skip-install",
176
+ "description": "Adds the gem to the Gemfile but does not install it."
177
+ }
178
+ ],
179
+ "examples": [
180
+ "bundle add rails",
181
+ "bundle add rspec --group development test"
182
+ ]
183
+ },
184
+ {
185
+ "name": "remove",
186
+ "description": "Removes a gem from the Gemfile",
187
+ "args": [
188
+ {
189
+ "name": "GEM",
190
+ "type": "string",
191
+ "required": true,
192
+ "description": "Name of the gem to remove"
193
+ }
194
+ ],
195
+ "options": [
196
+ {
197
+ "name": "--install",
198
+ "description": "Run bundle install after removing them."
199
+ }
200
+ ],
201
+ "examples": [
202
+ "bundle remove rails"
203
+ ]
204
+ },
205
+ {
206
+ "name": "outdated",
207
+ "description": "List installed gems with newer versions available",
208
+ "args": [],
209
+ "options": [
210
+ {
211
+ "name": "--local",
212
+ "description": "Do not attempt to fetch gems remotely and use the gem cache instead."
213
+ },
214
+ {
215
+ "name": "--pre",
216
+ "description": "Check for newer pre-release gems."
217
+ },
218
+ {
219
+ "name": "--source",
220
+ "description": "Check against a specific source.",
221
+ "type": "string"
222
+ },
223
+ {
224
+ "name": "--strict",
225
+ "description": "Only list newer versions allowed by your Gemfile requirements."
226
+ },
227
+ {
228
+ "name": "--groups",
229
+ "description": "List gems by group."
230
+ }
231
+ ],
232
+ "examples": [
233
+ "bundle outdated",
234
+ "bundle outdated --strict"
235
+ ]
236
+ },
237
+ {
238
+ "name": "info",
239
+ "description": "Show information for the given gem",
240
+ "args": [
241
+ {
242
+ "name": "GEM",
243
+ "type": "string",
244
+ "required": true,
245
+ "description": "Name of the gem"
246
+ }
247
+ ],
248
+ "options": [
249
+ {
250
+ "name": "--path",
251
+ "description": "Print the path of the given gem"
252
+ }
253
+ ],
254
+ "examples": [
255
+ "bundle info rails",
256
+ "bundle info rails --path"
257
+ ]
258
+ },
259
+ {
260
+ "name": "init",
261
+ "description": "Generates a Gemfile into the current working directory",
262
+ "args": [],
263
+ "options": [
264
+ {
265
+ "name": "--gemspec",
266
+ "description": "Use the specified .gemspec to create the Gemfile",
267
+ "type": "path"
268
+ }
269
+ ],
270
+ "examples": [
271
+ "bundle init"
272
+ ]
273
+ }
274
+ ],
275
+ "globalOptions": [
276
+ {
277
+ "name": "--no-color",
278
+ "description": "Disable colorization in output"
279
+ },
280
+ {
281
+ "name": "--retry",
282
+ "short": "-r",
283
+ "description": "Specify the number of times you wish to attempt network commands",
284
+ "type": "number"
285
+ },
286
+ {
287
+ "name": "--verbose",
288
+ "short": "-V",
289
+ "description": "Enable verbose output"
290
+ }
291
+ ],
292
+ "examples": [
293
+ "bundle install",
294
+ "bundle exec rails c",
295
+ "bundle update",
296
+ "bundle add devise"
297
+ ],
298
+ "relatedCommands": [
299
+ "ruby",
300
+ "gem",
301
+ "rails"
302
+ ],
303
+ "contextEngine": {
304
+ "detectors": [
305
+ {
306
+ "name": "gemfile_deps",
307
+ "description": "Gemfile dependencies",
308
+ "command": "cat Gemfile 2>/dev/null | grep 'gem ' | head -15",
309
+ "parser": "lines",
310
+ "cacheFor": 60
311
+ },
312
+ {
313
+ "name": "ruby_version",
314
+ "description": "Ruby version required by Gemfile",
315
+ "command": "cat Gemfile 2>/dev/null | grep '^ruby '",
316
+ "parser": "text",
317
+ "cacheFor": 60
318
+ }
319
+ ]
320
+ }
321
+ }