@enjoys/context-engine 1.0.0 → 1.0.2

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 (112) 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/btop.json +59 -0
  8. package/data/commands/bundle.json +321 -0
  9. package/data/commands/composer.json +507 -0
  10. package/data/commands/dart.json +216 -0
  11. package/data/commands/dbmate.json +257 -0
  12. package/data/commands/docker-compose.json +384 -0
  13. package/data/commands/drizzle-kit.json +217 -0
  14. package/data/commands/expo.json +65 -0
  15. package/data/commands/fastlane.json +243 -0
  16. package/data/commands/fd.json +86 -0
  17. package/data/commands/flutter.json +298 -0
  18. package/data/commands/flyway.json +261 -0
  19. package/data/commands/fzf.json +103 -0
  20. package/data/commands/gem.json +267 -0
  21. package/data/commands/htop.json +56 -0
  22. package/data/commands/jq.json +100 -0
  23. package/data/commands/k9s.json +62 -0
  24. package/data/commands/linux.json +3007 -0
  25. package/data/commands/liquibase.json +399 -0
  26. package/data/commands/manifest.json +619 -0
  27. package/data/commands/minikube.json +60 -0
  28. package/data/commands/ng.json +64 -0
  29. package/data/commands/nuxt.json +60 -0
  30. package/data/commands/nvim.json +91 -0
  31. package/data/commands/php.json +157 -0
  32. package/data/commands/pm2.json +259 -0
  33. package/data/commands/pod.json +175 -0
  34. package/data/commands/prisma.json +257 -0
  35. package/data/commands/rails.json +372 -0
  36. package/data/commands/rake.json +360 -0
  37. package/data/commands/react-native.json +57 -0
  38. package/data/commands/rg.json +103 -0
  39. package/data/commands/rspec.json +257 -0
  40. package/data/commands/ruby.json +108 -0
  41. package/data/commands/screen.json +101 -0
  42. package/data/commands/sequelize.json +342 -0
  43. package/data/commands/snyk.json +442 -0
  44. package/data/commands/sonar-scanner.json +219 -0
  45. package/data/commands/stripe.json +314 -0
  46. package/data/commands/symfony.json +449 -0
  47. package/data/commands/tmux.json +197 -0
  48. package/data/commands/top.json +61 -0
  49. package/data/commands/trivy.json +367 -0
  50. package/data/commands/twilio.json +382 -0
  51. package/data/commands/typeorm.json +262 -0
  52. package/data/commands/vim.json +85 -0
  53. package/data/commands/vue.json +60 -0
  54. package/data/commands/wp.json +857 -0
  55. package/data/commands/xcodebuild.json +141 -0
  56. package/data/commands/yq.json +57 -0
  57. package/data/completion/bash.json +1184 -0
  58. package/data/completion/c.json +1067 -0
  59. package/data/completion/cpp.json +824 -0
  60. package/data/completion/csharp.json +860 -0
  61. package/data/completion/dockerfile.json +536 -0
  62. package/data/completion/go.json +1346 -0
  63. package/data/completion/html.json +806 -0
  64. package/data/completion/java.json +1112 -0
  65. package/data/completion/javascript.json +914 -0
  66. package/data/completion/lua.json +968 -0
  67. package/data/completion/php.json +1535 -0
  68. package/data/completion/python.json +1427 -0
  69. package/data/completion/ruby.json +1531 -0
  70. package/data/completion/rust.json +698 -0
  71. package/data/completion/sql.json +887 -0
  72. package/data/completion/toml.json +428 -0
  73. package/data/completion/typescript.json +338 -0
  74. package/data/completion/yaml.json +563 -0
  75. package/data/defination/bash.json +565 -0
  76. package/data/defination/c.json +865 -0
  77. package/data/defination/cpp.json +348 -0
  78. package/data/defination/csharp.json +144 -0
  79. package/data/defination/dockerfile.json +113 -0
  80. package/data/defination/go.json +561 -0
  81. package/data/defination/html.json +559 -0
  82. package/data/defination/java.json +184 -0
  83. package/data/defination/javascript.json +265 -0
  84. package/data/defination/lua.json +181 -0
  85. package/data/defination/php.json +726 -0
  86. package/data/defination/python.json +717 -0
  87. package/data/defination/ruby.json +670 -0
  88. package/data/defination/rust.json +207 -0
  89. package/data/defination/sql.json +473 -0
  90. package/data/defination/toml.json +251 -0
  91. package/data/defination/typescript.json +29 -0
  92. package/data/defination/yaml.json +197 -0
  93. package/data/hover/bash.json +245 -0
  94. package/data/hover/c.json +265 -0
  95. package/data/hover/cpp.json +210 -0
  96. package/data/hover/csharp.json +290 -0
  97. package/data/hover/dockerfile.json +145 -0
  98. package/data/hover/go.json +580 -0
  99. package/data/hover/html.json +250 -0
  100. package/data/hover/java.json +395 -0
  101. package/data/hover/javascript.json +330 -0
  102. package/data/hover/lua.json +265 -0
  103. package/data/hover/php.json +300 -0
  104. package/data/hover/python.json +380 -0
  105. package/data/hover/ruby.json +265 -0
  106. package/data/hover/rust.json +275 -0
  107. package/data/hover/sql.json +230 -0
  108. package/data/hover/toml.json +145 -0
  109. package/data/hover/typescript.json +120 -0
  110. package/data/hover/yaml.json +165 -0
  111. package/data/manifest.json +242 -0
  112. package/package.json +1 -1
@@ -0,0 +1,372 @@
1
+ {
2
+ "name": "rails",
3
+ "description": "Ruby on Rails command line utility",
4
+ "category": "framework",
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": "new",
19
+ "description": "Create a new Rails application",
20
+ "args": [
21
+ {
22
+ "name": "APP_PATH",
23
+ "type": "path",
24
+ "required": true,
25
+ "description": "Path to create the application"
26
+ }
27
+ ],
28
+ "options": [
29
+ {
30
+ "name": "--api",
31
+ "description": "Preconfigure smaller stack for API only apps"
32
+ },
33
+ {
34
+ "name": "--database",
35
+ "short": "-d",
36
+ "description": "Preconfigure for selected database",
37
+ "type": "string",
38
+ "default": "sqlite3"
39
+ },
40
+ {
41
+ "name": "--css",
42
+ "short": "-c",
43
+ "description": "Choose CSS processor [tailwind|bootstrap|bulma|postcss|sass]",
44
+ "type": "string"
45
+ },
46
+ {
47
+ "name": "--javascript",
48
+ "short": "-j",
49
+ "description": "Choose JavaScript approach [importmap|webpack|esbuild|rollup]",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "name": "--skip-action-mailer",
54
+ "short": "-M",
55
+ "description": "Skip Action Mailer files"
56
+ },
57
+ {
58
+ "name": "--skip-active-record",
59
+ "short": "-O",
60
+ "description": "Skip Active Record files"
61
+ },
62
+ {
63
+ "name": "--skip-test",
64
+ "short": "-T",
65
+ "description": "Skip test files"
66
+ },
67
+ {
68
+ "name": "--skip-git",
69
+ "short": "-G",
70
+ "description": "Skip .gitignore file"
71
+ },
72
+ {
73
+ "name": "--minimal",
74
+ "description": "Preconfigure a minimal rails app"
75
+ }
76
+ ],
77
+ "examples": [
78
+ "rails new myapp",
79
+ "rails new myapp --database=postgresql",
80
+ "rails new myapi --api"
81
+ ]
82
+ },
83
+ {
84
+ "name": "server",
85
+ "description": "Start the Rails server",
86
+ "args": [],
87
+ "options": [
88
+ {
89
+ "name": "--port",
90
+ "short": "-p",
91
+ "description": "Runs Rails on the specified port",
92
+ "type": "number",
93
+ "default": 3000
94
+ },
95
+ {
96
+ "name": "--binding",
97
+ "short": "-b",
98
+ "description": "Binds Rails to the specified IP",
99
+ "type": "string",
100
+ "default": "localhost"
101
+ },
102
+ {
103
+ "name": "--environment",
104
+ "short": "-e",
105
+ "description": "Specifies the environment to run this server under (test/development/production)",
106
+ "type": "string",
107
+ "default": "development"
108
+ },
109
+ {
110
+ "name": "--daemon",
111
+ "short": "-d",
112
+ "description": "Runs server as a Daemon"
113
+ }
114
+ ],
115
+ "examples": [
116
+ "rails server",
117
+ "rails s -p 3001",
118
+ "rails s -b 0.0.0.0"
119
+ ]
120
+ },
121
+ {
122
+ "name": "console",
123
+ "description": "Start the Rails console",
124
+ "args": [],
125
+ "options": [
126
+ {
127
+ "name": "--environment",
128
+ "short": "-e",
129
+ "description": "Specifies the environment to run this console under",
130
+ "type": "string",
131
+ "default": "development"
132
+ },
133
+ {
134
+ "name": "--sandbox",
135
+ "short": "-s",
136
+ "description": "Rollback database modifications on exit"
137
+ },
138
+ {
139
+ "name": "--debugger",
140
+ "description": "Enable the debugger"
141
+ }
142
+ ],
143
+ "examples": [
144
+ "rails console",
145
+ "rails c",
146
+ "rails c --sandbox"
147
+ ]
148
+ },
149
+ {
150
+ "name": "generate",
151
+ "description": "Generate Rails components (models, controllers, etc.)",
152
+ "args": [
153
+ {
154
+ "name": "generator",
155
+ "type": "string",
156
+ "required": true,
157
+ "description": "Name of the generator (e.g., model, controller, migration, scaffold)"
158
+ },
159
+ {
160
+ "name": "args...",
161
+ "type": "string",
162
+ "required": false,
163
+ "description": "Arguments for the generator"
164
+ }
165
+ ],
166
+ "options": [
167
+ {
168
+ "name": "--no-test-framework",
169
+ "description": "Skip test framework files"
170
+ },
171
+ {
172
+ "name": "--no-helper",
173
+ "description": "Skip helper files"
174
+ },
175
+ {
176
+ "name": "--no-assets",
177
+ "description": "Skip assets files"
178
+ },
179
+ {
180
+ "name": "--skip-namespace",
181
+ "description": "Skip namespace (affects only isolated applications)"
182
+ }
183
+ ],
184
+ "examples": [
185
+ "rails generate model User name:string email:string",
186
+ "rails generate controller Users index show",
187
+ "rails generate migration AddAgeToUsers age:integer",
188
+ "rails g scaffold Post title:string body:text"
189
+ ]
190
+ },
191
+ {
192
+ "name": "destroy",
193
+ "description": "Undo code generated with `generate`",
194
+ "args": [
195
+ {
196
+ "name": "generator",
197
+ "type": "string",
198
+ "required": true,
199
+ "description": "Name of the generator"
200
+ },
201
+ {
202
+ "name": "args...",
203
+ "type": "string",
204
+ "required": false,
205
+ "description": "Arguments used in generation"
206
+ }
207
+ ],
208
+ "options": [],
209
+ "examples": [
210
+ "rails destroy model User",
211
+ "rails destroy controller Users"
212
+ ]
213
+ },
214
+ {
215
+ "name": "db:migrate",
216
+ "description": "Run database migrations",
217
+ "args": [],
218
+ "options": [
219
+ {
220
+ "name": "VERSION",
221
+ "description": "Migrate to a specific version",
222
+ "type": "string"
223
+ },
224
+ {
225
+ "name": "RAILS_ENV",
226
+ "description": "Run in a specific environment",
227
+ "type": "string"
228
+ }
229
+ ],
230
+ "examples": [
231
+ "rails db:migrate",
232
+ "rails db:migrate RAILS_ENV=test"
233
+ ]
234
+ },
235
+ {
236
+ "name": "db:rollback",
237
+ "description": "Rollback the last database migration",
238
+ "args": [],
239
+ "options": [
240
+ {
241
+ "name": "STEP",
242
+ "description": "Number of steps to rollback",
243
+ "type": "number",
244
+ "default": 1
245
+ }
246
+ ],
247
+ "examples": [
248
+ "rails db:rollback",
249
+ "rails db:rollback STEP=3"
250
+ ]
251
+ },
252
+ {
253
+ "name": "db:seed",
254
+ "description": "Load the seed data from db/seeds.rb",
255
+ "args": [],
256
+ "options": [],
257
+ "examples": [
258
+ "rails db:seed"
259
+ ]
260
+ },
261
+ {
262
+ "name": "db:create",
263
+ "description": "Create the database from config/database.yml for the current Rails.env",
264
+ "args": [],
265
+ "options": [],
266
+ "examples": [
267
+ "rails db:create"
268
+ ]
269
+ },
270
+ {
271
+ "name": "db:drop",
272
+ "description": "Drop the database from config/database.yml for the current Rails.env",
273
+ "args": [],
274
+ "options": [],
275
+ "examples": [
276
+ "rails db:drop"
277
+ ]
278
+ },
279
+ {
280
+ "name": "routes",
281
+ "description": "List all registered routes",
282
+ "args": [],
283
+ "options": [
284
+ {
285
+ "name": "-c",
286
+ "description": "Filter by a specific controller",
287
+ "type": "string"
288
+ },
289
+ {
290
+ "name": "-g",
291
+ "description": "Grep the routes output",
292
+ "type": "string"
293
+ },
294
+ {
295
+ "name": "--expanded",
296
+ "description": "Turn on expanded mode for route output"
297
+ }
298
+ ],
299
+ "examples": [
300
+ "rails routes",
301
+ "rails routes -c users",
302
+ "rails routes -g api"
303
+ ]
304
+ },
305
+ {
306
+ "name": "test",
307
+ "description": "Run tests",
308
+ "args": [
309
+ {
310
+ "name": "[files or directories]",
311
+ "type": "path",
312
+ "required": false,
313
+ "description": "Specific files or directories to test"
314
+ }
315
+ ],
316
+ "options": [],
317
+ "examples": [
318
+ "rails test",
319
+ "rails test test/models/user_test.rb"
320
+ ]
321
+ }
322
+ ],
323
+ "globalOptions": [
324
+ {
325
+ "name": "--help",
326
+ "short": "-h",
327
+ "description": "Show help message"
328
+ },
329
+ {
330
+ "name": "--version",
331
+ "short": "-v",
332
+ "description": "Show Rails version"
333
+ }
334
+ ],
335
+ "examples": [
336
+ "rails new myapp",
337
+ "rails server",
338
+ "rails generate scaffold User name:string",
339
+ "rails db:migrate"
340
+ ],
341
+ "relatedCommands": [
342
+ "ruby",
343
+ "bundle",
344
+ "rake"
345
+ ],
346
+ "contextEngine": {
347
+ "detectors": [
348
+ {
349
+ "name": "rails_version",
350
+ "description": "Rails Version",
351
+ "command": "rails -v 2>/dev/null",
352
+ "parser": "text",
353
+ "cacheFor": 3600
354
+ },
355
+ {
356
+ "name": "routes",
357
+ "description": "Top rails routes",
358
+ "command": "rails routes 2>/dev/null | grep -v 'rails_' | head -15",
359
+ "parser": "lines",
360
+ "cacheFor": 120,
361
+ "requiresCmd": "rails"
362
+ },
363
+ {
364
+ "name": "models",
365
+ "description": "Application models",
366
+ "command": "ls app/models/*.rb 2>/dev/null",
367
+ "parser": "lines",
368
+ "cacheFor": 60
369
+ }
370
+ ]
371
+ }
372
+ }