@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.
- package/data/commands/adb.json +322 -0
- package/data/commands/alembic.json +301 -0
- package/data/commands/artisan.json +277 -0
- package/data/commands/atlas.json +426 -0
- package/data/commands/auth0.json +648 -0
- package/data/commands/bat.json +84 -0
- package/data/commands/bundle.json +321 -0
- package/data/commands/composer.json +507 -0
- package/data/commands/dart.json +216 -0
- package/data/commands/dbmate.json +257 -0
- package/data/commands/docker-compose.json +384 -0
- package/data/commands/drizzle-kit.json +217 -0
- package/data/commands/expo.json +65 -0
- package/data/commands/fastlane.json +243 -0
- package/data/commands/fd.json +86 -0
- package/data/commands/flutter.json +298 -0
- package/data/commands/flyway.json +261 -0
- package/data/commands/fzf.json +103 -0
- package/data/commands/gem.json +267 -0
- package/data/commands/jq.json +100 -0
- package/data/commands/k9s.json +62 -0
- package/data/commands/liquibase.json +399 -0
- package/data/commands/manifest.json +619 -0
- package/data/commands/minikube.json +60 -0
- package/data/commands/ng.json +64 -0
- package/data/commands/nuxt.json +60 -0
- package/data/commands/php.json +157 -0
- package/data/commands/pm2.json +259 -0
- package/data/commands/pod.json +175 -0
- package/data/commands/prisma.json +257 -0
- package/data/commands/rails.json +372 -0
- package/data/commands/rake.json +360 -0
- package/data/commands/react-native.json +57 -0
- package/data/commands/rg.json +103 -0
- package/data/commands/rspec.json +257 -0
- package/data/commands/ruby.json +108 -0
- package/data/commands/sequelize.json +342 -0
- package/data/commands/snyk.json +442 -0
- package/data/commands/sonar-scanner.json +219 -0
- package/data/commands/stripe.json +314 -0
- package/data/commands/symfony.json +449 -0
- package/data/commands/tmux.json +197 -0
- package/data/commands/trivy.json +367 -0
- package/data/commands/twilio.json +382 -0
- package/data/commands/typeorm.json +262 -0
- package/data/commands/vue.json +60 -0
- package/data/commands/wp.json +857 -0
- package/data/commands/xcodebuild.json +141 -0
- package/data/commands/yq.json +57 -0
- package/data/completion/bash.json +1184 -0
- package/data/completion/c.json +1067 -0
- package/data/completion/cpp.json +824 -0
- package/data/completion/csharp.json +860 -0
- package/data/completion/dockerfile.json +536 -0
- package/data/completion/go.json +1346 -0
- package/data/completion/html.json +806 -0
- package/data/completion/java.json +1112 -0
- package/data/completion/javascript.json +914 -0
- package/data/completion/lua.json +968 -0
- package/data/completion/php.json +1535 -0
- package/data/completion/python.json +1427 -0
- package/data/completion/ruby.json +1531 -0
- package/data/completion/rust.json +698 -0
- package/data/completion/sql.json +887 -0
- package/data/completion/toml.json +428 -0
- package/data/completion/typescript.json +338 -0
- package/data/completion/yaml.json +563 -0
- package/data/defination/bash.json +565 -0
- package/data/defination/c.json +865 -0
- package/data/defination/cpp.json +348 -0
- package/data/defination/csharp.json +144 -0
- package/data/defination/dockerfile.json +113 -0
- package/data/defination/go.json +561 -0
- package/data/defination/html.json +559 -0
- package/data/defination/java.json +184 -0
- package/data/defination/javascript.json +265 -0
- package/data/defination/lua.json +181 -0
- package/data/defination/php.json +726 -0
- package/data/defination/python.json +717 -0
- package/data/defination/ruby.json +670 -0
- package/data/defination/rust.json +207 -0
- package/data/defination/sql.json +473 -0
- package/data/defination/toml.json +251 -0
- package/data/defination/typescript.json +29 -0
- package/data/defination/yaml.json +197 -0
- package/data/hover/bash.json +245 -0
- package/data/hover/c.json +265 -0
- package/data/hover/cpp.json +210 -0
- package/data/hover/csharp.json +290 -0
- package/data/hover/dockerfile.json +145 -0
- package/data/hover/go.json +580 -0
- package/data/hover/html.json +250 -0
- package/data/hover/java.json +395 -0
- package/data/hover/javascript.json +330 -0
- package/data/hover/lua.json +265 -0
- package/data/hover/php.json +300 -0
- package/data/hover/python.json +380 -0
- package/data/hover/ruby.json +265 -0
- package/data/hover/rust.json +275 -0
- package/data/hover/sql.json +230 -0
- package/data/hover/toml.json +145 -0
- package/data/hover/typescript.json +120 -0
- package/data/hover/yaml.json +165 -0
- package/data/manifest.json +242 -0
- package/package.json +1 -1
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rake",
|
|
3
|
+
"description": "Rake is a Ruby build program and task runner similar to Make, widely used in Ruby and Ruby on Rails projects for database migrations, asset compilation, testing, and custom automation tasks.",
|
|
4
|
+
"category": "ruby-ecosystem",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{
|
|
9
|
+
"name": "db:create",
|
|
10
|
+
"description": "Create the database from DATABASE_URL or config/database.yml for the current RAILS_ENV",
|
|
11
|
+
"args": [],
|
|
12
|
+
"options": [
|
|
13
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment (development, test, production)", "type": "string"}
|
|
14
|
+
],
|
|
15
|
+
"examples": [
|
|
16
|
+
"rake db:create",
|
|
17
|
+
"RAILS_ENV=test rake db:create",
|
|
18
|
+
"rake db:create:all"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "db:drop",
|
|
23
|
+
"description": "Drop the database for the current RAILS_ENV",
|
|
24
|
+
"args": [],
|
|
25
|
+
"options": [
|
|
26
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"},
|
|
27
|
+
{"name": "DISABLE_DATABASE_ENVIRONMENT_CHECK", "description": "Set to 1 to allow dropping production database", "type": "string"}
|
|
28
|
+
],
|
|
29
|
+
"examples": [
|
|
30
|
+
"rake db:drop",
|
|
31
|
+
"RAILS_ENV=test rake db:drop",
|
|
32
|
+
"DISABLE_DATABASE_ENVIRONMENT_CHECK=1 rake db:drop",
|
|
33
|
+
"rake db:drop:all"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "db:migrate",
|
|
38
|
+
"description": "Run all pending database migrations",
|
|
39
|
+
"args": [],
|
|
40
|
+
"options": [
|
|
41
|
+
{"name": "VERSION", "description": "Migrate to a specific version timestamp", "type": "string"},
|
|
42
|
+
{"name": "RAILS_ENV", "description": "Run migrations in a specific environment", "type": "string"},
|
|
43
|
+
{"name": "VERBOSE", "description": "Set to false to suppress migration output", "type": "string"}
|
|
44
|
+
],
|
|
45
|
+
"examples": [
|
|
46
|
+
"rake db:migrate",
|
|
47
|
+
"rake db:migrate VERSION=20240101120000",
|
|
48
|
+
"RAILS_ENV=test rake db:migrate",
|
|
49
|
+
"rake db:migrate VERBOSE=false"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "db:rollback",
|
|
54
|
+
"description": "Rollback the last database migration or a specified number of steps",
|
|
55
|
+
"args": [],
|
|
56
|
+
"options": [
|
|
57
|
+
{"name": "STEP", "description": "Number of migrations to roll back (default: 1)", "type": "integer"},
|
|
58
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
59
|
+
],
|
|
60
|
+
"examples": [
|
|
61
|
+
"rake db:rollback",
|
|
62
|
+
"rake db:rollback STEP=3",
|
|
63
|
+
"RAILS_ENV=test rake db:rollback"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "db:seed",
|
|
68
|
+
"description": "Load seed data from db/seeds.rb into the database",
|
|
69
|
+
"args": [],
|
|
70
|
+
"options": [
|
|
71
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
72
|
+
],
|
|
73
|
+
"examples": [
|
|
74
|
+
"rake db:seed",
|
|
75
|
+
"RAILS_ENV=production rake db:seed"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "db:schema:load",
|
|
80
|
+
"description": "Load the database schema from db/schema.rb, recreating tables",
|
|
81
|
+
"args": [],
|
|
82
|
+
"options": [
|
|
83
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
84
|
+
],
|
|
85
|
+
"examples": [
|
|
86
|
+
"rake db:schema:load",
|
|
87
|
+
"RAILS_ENV=test rake db:schema:load"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "db:schema:dump",
|
|
92
|
+
"description": "Dump the current database schema to db/schema.rb",
|
|
93
|
+
"args": [],
|
|
94
|
+
"options": [
|
|
95
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"},
|
|
96
|
+
{"name": "SCHEMA", "description": "Alternate schema file path", "type": "string"}
|
|
97
|
+
],
|
|
98
|
+
"examples": [
|
|
99
|
+
"rake db:schema:dump",
|
|
100
|
+
"rake db:schema:dump SCHEMA=db/custom_schema.rb"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "db:test:prepare",
|
|
105
|
+
"description": "Check for pending migrations and load the test schema from the development schema",
|
|
106
|
+
"args": [],
|
|
107
|
+
"options": [],
|
|
108
|
+
"examples": [
|
|
109
|
+
"rake db:test:prepare"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "db:reset",
|
|
114
|
+
"description": "Drop, recreate, and reload the database from schema.rb and run seeds",
|
|
115
|
+
"args": [],
|
|
116
|
+
"options": [
|
|
117
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
118
|
+
],
|
|
119
|
+
"examples": [
|
|
120
|
+
"rake db:reset",
|
|
121
|
+
"RAILS_ENV=test rake db:reset"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "db:setup",
|
|
126
|
+
"description": "Create the database, load schema, and run seeds",
|
|
127
|
+
"args": [],
|
|
128
|
+
"options": [
|
|
129
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
130
|
+
],
|
|
131
|
+
"examples": [
|
|
132
|
+
"rake db:setup",
|
|
133
|
+
"RAILS_ENV=test rake db:setup"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "db:migrate:status",
|
|
138
|
+
"description": "Display the status (up/down) of each migration",
|
|
139
|
+
"args": [],
|
|
140
|
+
"options": [
|
|
141
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
142
|
+
],
|
|
143
|
+
"examples": [
|
|
144
|
+
"rake db:migrate:status",
|
|
145
|
+
"RAILS_ENV=production rake db:migrate:status"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "db:migrate:redo",
|
|
150
|
+
"description": "Rollback the last migration and re-run it",
|
|
151
|
+
"args": [],
|
|
152
|
+
"options": [
|
|
153
|
+
{"name": "STEP", "description": "Number of migrations to redo", "type": "integer"},
|
|
154
|
+
{"name": "VERSION", "description": "Redo a specific migration version", "type": "string"}
|
|
155
|
+
],
|
|
156
|
+
"examples": [
|
|
157
|
+
"rake db:migrate:redo",
|
|
158
|
+
"rake db:migrate:redo STEP=3",
|
|
159
|
+
"rake db:migrate:redo VERSION=20240101120000"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "assets:precompile",
|
|
164
|
+
"description": "Compile all the assets listed in config.assets.precompile",
|
|
165
|
+
"args": [],
|
|
166
|
+
"options": [
|
|
167
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment (default: production)", "type": "string"},
|
|
168
|
+
{"name": "RAILS_GROUPS", "description": "Specify Rails groups to load", "type": "string"}
|
|
169
|
+
],
|
|
170
|
+
"examples": [
|
|
171
|
+
"rake assets:precompile",
|
|
172
|
+
"RAILS_ENV=production rake assets:precompile"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "assets:clean",
|
|
177
|
+
"description": "Remove old compiled assets from public/assets",
|
|
178
|
+
"args": [],
|
|
179
|
+
"options": [
|
|
180
|
+
{"name": "RAILS_ENV", "description": "Specify Rails environment", "type": "string"}
|
|
181
|
+
],
|
|
182
|
+
"examples": [
|
|
183
|
+
"rake assets:clean",
|
|
184
|
+
"rake assets:clobber"
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "routes",
|
|
189
|
+
"description": "Print all defined routes in the application, including HTTP verbs and controller actions",
|
|
190
|
+
"args": [],
|
|
191
|
+
"options": [
|
|
192
|
+
{"name": "CONTROLLER", "description": "Filter routes by controller name", "type": "string"},
|
|
193
|
+
{"name": "GREP", "description": "Filter routes matching a pattern", "type": "string"}
|
|
194
|
+
],
|
|
195
|
+
"examples": [
|
|
196
|
+
"rake routes",
|
|
197
|
+
"rake routes CONTROLLER=users",
|
|
198
|
+
"rake routes | grep admin",
|
|
199
|
+
"rake routes GREP=api"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "middleware",
|
|
204
|
+
"description": "Print the Rack middleware stack for the application",
|
|
205
|
+
"args": [],
|
|
206
|
+
"options": [],
|
|
207
|
+
"examples": [
|
|
208
|
+
"rake middleware"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "about",
|
|
213
|
+
"description": "Display information about the application environment (Ruby, Rails, database, middleware versions)",
|
|
214
|
+
"args": [],
|
|
215
|
+
"options": [],
|
|
216
|
+
"examples": [
|
|
217
|
+
"rake about"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "spec",
|
|
222
|
+
"description": "Run all RSpec specs (available when rspec-rails gem is installed)",
|
|
223
|
+
"args": [],
|
|
224
|
+
"options": [
|
|
225
|
+
{"name": "SPEC", "description": "Run specific spec file(s)", "type": "string"},
|
|
226
|
+
{"name": "SPEC_OPTS", "description": "Additional RSpec options", "type": "string"}
|
|
227
|
+
],
|
|
228
|
+
"examples": [
|
|
229
|
+
"rake spec",
|
|
230
|
+
"rake spec SPEC=spec/models/user_spec.rb",
|
|
231
|
+
"rake spec SPEC_OPTS='--format documentation'"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "test",
|
|
236
|
+
"description": "Run all Minitest tests in the test/ directory",
|
|
237
|
+
"args": [],
|
|
238
|
+
"options": [
|
|
239
|
+
{"name": "TEST", "description": "Run specific test file(s)", "type": "string"},
|
|
240
|
+
{"name": "TESTOPTS", "description": "Additional Test::Unit/Minitest options", "type": "string"},
|
|
241
|
+
{"name": "RAILS_ENV", "description": "Specify the test environment", "type": "string"}
|
|
242
|
+
],
|
|
243
|
+
"examples": [
|
|
244
|
+
"rake test",
|
|
245
|
+
"rake test TEST=test/models/user_test.rb",
|
|
246
|
+
"rake test:models",
|
|
247
|
+
"rake test:controllers",
|
|
248
|
+
"rake test:system"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "notes",
|
|
253
|
+
"description": "List all annotations (TODO, FIXME, OPTIMIZE) found in the codebase",
|
|
254
|
+
"args": [],
|
|
255
|
+
"options": [],
|
|
256
|
+
"examples": [
|
|
257
|
+
"rake notes",
|
|
258
|
+
"rake notes:todo",
|
|
259
|
+
"rake notes:fixme",
|
|
260
|
+
"rake notes:optimize",
|
|
261
|
+
"rake notes:custom ANNOTATION=REVIEW"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "tmp:clear",
|
|
266
|
+
"description": "Clear session, cache, and socket files from tmp/",
|
|
267
|
+
"args": [],
|
|
268
|
+
"options": [],
|
|
269
|
+
"examples": [
|
|
270
|
+
"rake tmp:clear",
|
|
271
|
+
"rake tmp:cache:clear",
|
|
272
|
+
"rake tmp:sessions:clear",
|
|
273
|
+
"rake tmp:sockets:clear",
|
|
274
|
+
"rake tmp:create"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "log:clear",
|
|
279
|
+
"description": "Truncate all or specific log files in log/",
|
|
280
|
+
"args": [],
|
|
281
|
+
"options": [],
|
|
282
|
+
"examples": [
|
|
283
|
+
"rake log:clear"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "stats",
|
|
288
|
+
"description": "Report code statistics (LOC, classes, methods) for the application",
|
|
289
|
+
"args": [],
|
|
290
|
+
"options": [],
|
|
291
|
+
"examples": [
|
|
292
|
+
"rake stats"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "secret",
|
|
297
|
+
"description": "Generate a cryptographically secure secret key",
|
|
298
|
+
"args": [],
|
|
299
|
+
"options": [],
|
|
300
|
+
"examples": [
|
|
301
|
+
"rake secret"
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "zeitwerk:check",
|
|
306
|
+
"description": "Check that all autoloadable constants are correctly defined",
|
|
307
|
+
"args": [],
|
|
308
|
+
"options": [],
|
|
309
|
+
"examples": [
|
|
310
|
+
"rake zeitwerk:check"
|
|
311
|
+
]
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"globalOptions": [
|
|
315
|
+
{"name": "--tasks", "short": "-T", "description": "Display tasks with descriptions, optionally filtering by a pattern"},
|
|
316
|
+
{"name": "--all", "short": "-A", "description": "Show all tasks including those without descriptions"},
|
|
317
|
+
{"name": "--describe", "short": "-D", "description": "Describe tasks in detail"},
|
|
318
|
+
{"name": "--where", "short": "-W", "description": "Show where each task is defined"},
|
|
319
|
+
{"name": "--execute", "short": "-e", "description": "Execute some Ruby code and exit", "type": "string"},
|
|
320
|
+
{"name": "--trace", "short": "-t", "description": "Turn on invocation/execution tracing and enable full backtrace"},
|
|
321
|
+
{"name": "--verbose", "short": "-v", "description": "Log message to standard output"},
|
|
322
|
+
{"name": "--dry-run", "short": "-n", "description": "Do a dry run without executing actions"},
|
|
323
|
+
{"name": "--rules", "description": "Trace the rules resolution of Rake rules"},
|
|
324
|
+
{"name": "--no-search", "short": "-N", "description": "Do not search parent directories for the Rakefile"},
|
|
325
|
+
{"name": "--prereqs", "short": "-P", "description": "Display task prerequisites in the dependency chain"},
|
|
326
|
+
{"name": "--quiet", "short": "-q", "description": "Do not log messages to standard output"},
|
|
327
|
+
{"name": "--rakefile", "short": "-f", "description": "Use the specified Rakefile instead of searching", "type": "string"},
|
|
328
|
+
{"name": "--rakelibdir", "short": "-R", "description": "Auto-import any .rake files in the specified directory", "type": "string"},
|
|
329
|
+
{"name": "--require", "short": "-r", "description": "Require a Ruby library before executing Rakefile", "type": "string"},
|
|
330
|
+
{"name": "--system", "short": "-g", "description": "Use system-wide (global) rakefiles"},
|
|
331
|
+
{"name": "--multitask", "short": "-m", "description": "Treat all tasks as multitasks (run prerequisites in parallel)"},
|
|
332
|
+
{"name": "--jobs", "short": "-j", "description": "Number of parallel jobs (default: CPU count)", "type": "integer"},
|
|
333
|
+
{"name": "--version", "short": "-V", "description": "Display the version of Rake"},
|
|
334
|
+
{"name": "--help", "short": "-h", "description": "Display help message"}
|
|
335
|
+
],
|
|
336
|
+
"examples": [
|
|
337
|
+
"rake -T",
|
|
338
|
+
"rake -T db",
|
|
339
|
+
"rake db:create db:migrate db:seed",
|
|
340
|
+
"RAILS_ENV=production rake assets:precompile",
|
|
341
|
+
"rake db:rollback STEP=2",
|
|
342
|
+
"rake db:migrate:status",
|
|
343
|
+
"rake routes CONTROLLER=api/v1/users",
|
|
344
|
+
"rake test TEST=test/models/user_test.rb",
|
|
345
|
+
"rake spec SPEC=spec/models/user_spec.rb",
|
|
346
|
+
"rake tmp:clear log:clear",
|
|
347
|
+
"rake -P db:migrate",
|
|
348
|
+
"rake -W db:migrate"
|
|
349
|
+
],
|
|
350
|
+
"relatedCommands": ["ruby", "rails", "bundle"],
|
|
351
|
+
"contextEngine": {
|
|
352
|
+
"detectors": [
|
|
353
|
+
{"name": "rakefile_exists", "description": "Detect Rakefile in the current directory", "command": "test -f Rakefile && echo 'found' || echo 'not_found'", "parser": "lines", "cacheFor": 60},
|
|
354
|
+
{"name": "lib_tasks_dir", "description": "Detect lib/tasks directory for custom Rake tasks", "command": "test -d lib/tasks && echo 'found' || echo 'not_found'", "parser": "lines", "cacheFor": 60},
|
|
355
|
+
{"name": "rake_tasks_list", "description": "List available rake tasks", "command": "rake -T --silent 2>/dev/null | head -50", "parser": "lines", "cacheFor": 30},
|
|
356
|
+
{"name": "rails_env", "description": "Detect current Rails environment", "command": "echo ${RAILS_ENV:-development}", "parser": "lines", "cacheFor": 10},
|
|
357
|
+
{"name": "gemfile_exists", "description": "Detect Gemfile (indicating a Ruby project)", "command": "test -f Gemfile && echo 'found' || echo 'not_found'", "parser": "lines", "cacheFor": 60}
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-native",
|
|
3
|
+
"description": "React Native CLI",
|
|
4
|
+
"category": "Mobile Development",
|
|
5
|
+
"platforms": [
|
|
6
|
+
"linux",
|
|
7
|
+
"macos",
|
|
8
|
+
"windows"
|
|
9
|
+
],
|
|
10
|
+
"shells": [
|
|
11
|
+
"bash",
|
|
12
|
+
"zsh",
|
|
13
|
+
"powershell"
|
|
14
|
+
],
|
|
15
|
+
"subcommands": [
|
|
16
|
+
{
|
|
17
|
+
"name": "start",
|
|
18
|
+
"description": "Starts the Metro bundler"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "run-android",
|
|
22
|
+
"description": "Builds your app and starts it on a connected Android emulator or device"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "run-ios",
|
|
26
|
+
"description": "Builds your app and starts it on iOS simulator"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"globalOptions": [],
|
|
30
|
+
"examples": [
|
|
31
|
+
{
|
|
32
|
+
"command": "npx react-native start",
|
|
33
|
+
"description": "Start Metro"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"command": "npx react-native run-android",
|
|
37
|
+
"description": "Run on Android"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"relatedCommands": [
|
|
41
|
+
"expo",
|
|
42
|
+
"adb",
|
|
43
|
+
"pod",
|
|
44
|
+
"npm"
|
|
45
|
+
],
|
|
46
|
+
"contextEngine": {
|
|
47
|
+
"detectors": [
|
|
48
|
+
{
|
|
49
|
+
"name": "metro_config",
|
|
50
|
+
"description": "Metro Configuration",
|
|
51
|
+
"command": "cat metro.config.js 2>/dev/null | head -10",
|
|
52
|
+
"parser": "text",
|
|
53
|
+
"cacheFor": 300
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rg",
|
|
3
|
+
"description": "Ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. It respects .gitignore rules and automatically skips hidden files/directories and binary files.",
|
|
4
|
+
"category": "utilities",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "--regexp", "short": "-e", "description": "A pattern to search for. This option can be provided multiple times, where all patterns given are searched", "type": "string" },
|
|
10
|
+
{ "name": "--fixed-strings", "short": "-F", "description": "Treat the pattern as a literal string instead of a regular expression", "type": "boolean" },
|
|
11
|
+
{ "name": "--ignore-case", "short": "-i", "description": "Search case insensitively. This overrides --case-sensitive and --smart-case", "type": "boolean" },
|
|
12
|
+
{ "name": "--smart-case", "short": "-S", "description": "Search case insensitively if the pattern is all lowercase. Otherwise, search case sensitively", "type": "boolean" },
|
|
13
|
+
{ "name": "--case-sensitive", "short": "-s", "description": "Search case sensitively. This overrides --ignore-case and --smart-case", "type": "boolean" },
|
|
14
|
+
{ "name": "--word-regexp", "short": "-w", "description": "Only show matches surrounded by word boundaries. This is equivalent to putting \\b before and after the search pattern", "type": "boolean" },
|
|
15
|
+
{ "name": "--line-regexp", "short": "-x", "description": "Only show matches surrounded by line boundaries. This is equivalent to putting ^...$ around the search pattern", "type": "boolean" },
|
|
16
|
+
{ "name": "--invert-match", "short": "-v", "description": "Invert matching. Show lines that do not match the given patterns", "type": "boolean" },
|
|
17
|
+
{ "name": "--count", "short": "-c", "description": "Only show the count of matching lines for each file. This suppresses line content output", "type": "boolean" },
|
|
18
|
+
{ "name": "--count-matches", "description": "Only show the count of individual matches for each file. This differs from --count in that it counts every match, not just lines", "type": "boolean" },
|
|
19
|
+
{ "name": "--files-with-matches", "short": "-l", "description": "Only print the paths of files that contain at least one match", "type": "boolean" },
|
|
20
|
+
{ "name": "--files-without-match", "description": "Only print the paths of files that contain zero matches", "type": "boolean" },
|
|
21
|
+
{ "name": "--max-count", "short": "-m", "description": "Limit the number of matching lines per file searched", "type": "string" },
|
|
22
|
+
{ "name": "--json", "description": "Print results in JSON Lines format. Each line is a JSON object with a 'type' field indicating the kind of result", "type": "boolean" },
|
|
23
|
+
{ "name": "--no-line-number", "short": "-N", "description": "Suppress line numbers. This is enabled by default when not searching in a terminal", "type": "boolean" },
|
|
24
|
+
{ "name": "--line-number", "short": "-n", "description": "Show line numbers (1-based). This is enabled by default when searching in a terminal", "type": "boolean" },
|
|
25
|
+
{ "name": "--column", "description": "Show column numbers (1-based). This only shows the column number of the first match on each line", "type": "boolean" },
|
|
26
|
+
{ "name": "--only-matching", "short": "-o", "description": "Print only the matched (non-empty) parts of a matching line, with each such part on a separate output line", "type": "boolean" },
|
|
27
|
+
{ "name": "--replace", "short": "-r", "description": "Replace every match with the text given. Capture group indices ($1, $2, etc.) and names ($name) are supported", "type": "string" },
|
|
28
|
+
{ "name": "--passthru", "description": "Print both matching and non-matching lines. Non-matching lines do not trigger any replacements when --replace is used", "type": "boolean" },
|
|
29
|
+
{ "name": "--no-unicode", "description": "Disable unicode-aware search. By default, ripgrep will use unicode-aware matching", "type": "boolean" },
|
|
30
|
+
{ "name": "--glob", "short": "-g", "description": "Include or exclude files and directories matching the given glob. Prefix with '!' to exclude. Can be specified multiple times", "type": "string" },
|
|
31
|
+
{ "name": "--iglob", "description": "Like --glob, but the pattern is matched case insensitively", "type": "string" },
|
|
32
|
+
{ "name": "--type", "short": "-t", "description": "Only search files matching the given type. Use --type-list to see available types. Can be specified multiple times", "type": "string" },
|
|
33
|
+
{ "name": "--type-not", "short": "-T", "description": "Do not search files matching the given type. Inverse of --type", "type": "string" },
|
|
34
|
+
{ "name": "--type-add", "description": "Add a new file type. Format: NAME:GLOB (e.g. 'web:*.{html,css,js}')", "type": "string" },
|
|
35
|
+
{ "name": "--type-list", "description": "Show all supported file types and their corresponding globs", "type": "boolean" },
|
|
36
|
+
{ "name": "--max-depth", "short": "-d", "description": "Limit the depth of directory traversal to the given number of levels. A value of 0 searches only the start path", "type": "string" },
|
|
37
|
+
{ "name": "--follow", "short": "-L", "description": "Follow symbolic links while traversing directories", "type": "boolean" },
|
|
38
|
+
{ "name": "--hidden", "short": "-.", "description": "Search hidden files and directories. By default, hidden files and directories are skipped", "type": "boolean" },
|
|
39
|
+
{ "name": "--no-ignore", "description": "Do not respect ignore files (.gitignore, .ignore, etc.)", "type": "boolean" },
|
|
40
|
+
{ "name": "--no-ignore-vcs", "description": "Do not respect version control ignore files (.gitignore, etc.) but still respect .ignore files", "type": "boolean" },
|
|
41
|
+
{ "name": "--no-ignore-global", "description": "Do not respect the global gitignore file", "type": "boolean" },
|
|
42
|
+
{ "name": "--ignore-file", "description": "Specify an additional ignore file to use for filtering", "type": "string" },
|
|
43
|
+
{ "name": "--binary", "description": "Search binary files. By default, binary files are skipped entirely", "type": "boolean" },
|
|
44
|
+
{ "name": "--compressed", "short": "-z", "description": "Search in compressed files (gzip, bzip2, xz, LZ4, LZMA, Brotli, Zstd)", "type": "boolean" },
|
|
45
|
+
{ "name": "--stats", "description": "Print aggregate statistics about the search results at the end", "type": "boolean" },
|
|
46
|
+
{ "name": "--trim", "description": "Trim prefixed whitespace from all output lines. Useful when indentation is not relevant", "type": "boolean" },
|
|
47
|
+
{ "name": "--context", "short": "-C", "description": "Show NUM lines before and after each match. This overrides --before-context and --after-context", "type": "string" },
|
|
48
|
+
{ "name": "--before-context", "short": "-B", "description": "Show NUM lines before each match", "type": "string" },
|
|
49
|
+
{ "name": "--after-context", "short": "-A", "description": "Show NUM lines after each match", "type": "string" },
|
|
50
|
+
{ "name": "--color", "description": "Controls when to use color. Values: never, auto, always, ansi", "type": "string" },
|
|
51
|
+
{ "name": "--colors", "description": "Configure color settings for specific parts of output. Format: TYPE:ATTRIBUTE:VALUE (e.g. 'match:fg:red')", "type": "string" },
|
|
52
|
+
{ "name": "--sort", "description": "Sort results in ascending order by the given criteria: none, path, modified, accessed, created", "type": "string" },
|
|
53
|
+
{ "name": "--sortr", "description": "Sort results in descending order by the given criteria: none, path, modified, accessed, created", "type": "string" },
|
|
54
|
+
{ "name": "--threads", "short": "-j", "description": "The approximate number of threads to use for searching. A value of 0 (default) causes ripgrep to choose automatically", "type": "string" },
|
|
55
|
+
{ "name": "--multiline", "short": "-U", "description": "Enable matching across multiple lines. When enabled, patterns may match across line boundaries", "type": "boolean" },
|
|
56
|
+
{ "name": "--multiline-dotall", "description": "When used with --multiline, '.' will also match newline characters", "type": "boolean" },
|
|
57
|
+
{ "name": "--pcre2", "short": "-P", "description": "Use the PCRE2 regex engine instead of the default. This enables lookaround and backreferences", "type": "boolean" },
|
|
58
|
+
{ "name": "--engine", "description": "Specify which regular expression engine to use. Values: default, pcre2, auto", "type": "string" },
|
|
59
|
+
{ "name": "--pre", "description": "Run a preprocessor on every searched file and search the output of the preprocessor instead", "type": "string" },
|
|
60
|
+
{ "name": "--pre-glob", "description": "Limit the preprocessor to files matching the given glob. Only applies when --pre is used", "type": "string" },
|
|
61
|
+
{ "name": "--search-zip", "description": "Search in compressed files. Requires that lz4, bzip2, gzip or xz is in your PATH", "type": "boolean" },
|
|
62
|
+
{ "name": "--one-file-system", "description": "Do not cross filesystem boundaries when traversing directories", "type": "boolean" },
|
|
63
|
+
{ "name": "--unrestricted", "short": "-u", "description": "Reduce the level of smart filtering. -u includes hidden files, -uu includes hidden files and ignores .gitignore, -uuu searches binary files too", "type": "boolean" }
|
|
64
|
+
],
|
|
65
|
+
"examples": [
|
|
66
|
+
"rg 'TODO|FIXME' src/",
|
|
67
|
+
"rg -i 'pattern' --type py",
|
|
68
|
+
"rg -l 'import React'",
|
|
69
|
+
"rg --json 'function' | jq",
|
|
70
|
+
"rg -r '$1' '(foo)bar'",
|
|
71
|
+
"rg --hidden --no-ignore 'secret'",
|
|
72
|
+
"rg -C 3 'error' log/",
|
|
73
|
+
"rg -w 'main' --type rust",
|
|
74
|
+
"rg -g '!*.min.js' 'console.log'",
|
|
75
|
+
"rg --stats --count 'TODO' ."
|
|
76
|
+
],
|
|
77
|
+
"relatedCommands": ["grep", "fzf", "fd", "find"],
|
|
78
|
+
"contextEngine": {
|
|
79
|
+
"detectors": [
|
|
80
|
+
{
|
|
81
|
+
"name": "rg_version",
|
|
82
|
+
"description": "Detect ripgrep version",
|
|
83
|
+
"command": "rg --version",
|
|
84
|
+
"parser": "lines",
|
|
85
|
+
"cacheFor": 300
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "rg_type_list",
|
|
89
|
+
"description": "List available file types for filtering",
|
|
90
|
+
"command": "rg --type-list",
|
|
91
|
+
"parser": "lines",
|
|
92
|
+
"cacheFor": 300
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "rg_config",
|
|
96
|
+
"description": "Detect RIPGREP_CONFIG_PATH environment variable",
|
|
97
|
+
"command": "echo $RIPGREP_CONFIG_PATH",
|
|
98
|
+
"parser": "lines",
|
|
99
|
+
"cacheFor": 30
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|