@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,216 @@
1
+ {
2
+ "name": "dart",
3
+ "description": "Dart SDK command-line tool",
4
+ "category": "mobile",
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": "analyze",
19
+ "description": "Analyze the project's Dart code.",
20
+ "args": [
21
+ {
22
+ "name": "[directory]",
23
+ "type": "path",
24
+ "required": false,
25
+ "description": "The directory to analyze"
26
+ }
27
+ ],
28
+ "options": [
29
+ {
30
+ "name": "--fatal-infos",
31
+ "description": "Treat info level issues as fatal."
32
+ },
33
+ {
34
+ "name": "--fatal-warnings",
35
+ "description": "Treat warning level issues as fatal."
36
+ }
37
+ ],
38
+ "examples": [
39
+ "dart analyze",
40
+ "dart analyze lib/"
41
+ ]
42
+ },
43
+ {
44
+ "name": "compile",
45
+ "description": "Compile Dart to various formats.",
46
+ "args": [],
47
+ "options": [],
48
+ "examples": [
49
+ "dart compile exe bin/myapp.dart",
50
+ "dart compile js bin/myapp.dart"
51
+ ]
52
+ },
53
+ {
54
+ "name": "create",
55
+ "description": "Create a new Dart project.",
56
+ "args": [
57
+ {
58
+ "name": "<directory>",
59
+ "type": "path",
60
+ "required": true,
61
+ "description": "Directory to create the project in"
62
+ }
63
+ ],
64
+ "options": [
65
+ {
66
+ "name": "--template",
67
+ "short": "-t",
68
+ "description": "The template used to generate the project.",
69
+ "type": "string"
70
+ }
71
+ ],
72
+ "examples": [
73
+ "dart create cli_app",
74
+ "dart create -t server-shelf server_app"
75
+ ]
76
+ },
77
+ {
78
+ "name": "format",
79
+ "description": "Idiomatically format Dart source code.",
80
+ "args": [
81
+ {
82
+ "name": "[files or directories...]",
83
+ "type": "path",
84
+ "required": false,
85
+ "description": "The files or directories to format"
86
+ }
87
+ ],
88
+ "options": [
89
+ {
90
+ "name": "--output",
91
+ "short": "-o",
92
+ "description": "Set where to write formatted output [write|show|json|none].",
93
+ "type": "string"
94
+ },
95
+ {
96
+ "name": "--set-exit-if-changed",
97
+ "description": "Return exit code 1 if there are any formatting changes."
98
+ }
99
+ ],
100
+ "examples": [
101
+ "dart format lib/",
102
+ "dart format -o none --set-exit-if-changed ."
103
+ ]
104
+ },
105
+ {
106
+ "name": "pub",
107
+ "description": "Work with packages.",
108
+ "args": [],
109
+ "options": [],
110
+ "examples": [
111
+ "dart pub get",
112
+ "dart pub upgrade",
113
+ "dart pub add http"
114
+ ]
115
+ },
116
+ {
117
+ "name": "run",
118
+ "description": "Run a Dart program.",
119
+ "args": [
120
+ {
121
+ "name": "<executable>",
122
+ "type": "string",
123
+ "required": true,
124
+ "description": "The program to run"
125
+ },
126
+ {
127
+ "name": "[args...]",
128
+ "type": "string",
129
+ "required": false,
130
+ "description": "Arguments to pass to the program"
131
+ }
132
+ ],
133
+ "options": [
134
+ {
135
+ "name": "--enable-asserts",
136
+ "description": "Enable assert statements."
137
+ },
138
+ {
139
+ "name": "--enable-experiment",
140
+ "description": "Enable one or more experimental features.",
141
+ "type": "string"
142
+ }
143
+ ],
144
+ "examples": [
145
+ "dart run bin/myapp.dart",
146
+ "dart run test"
147
+ ]
148
+ },
149
+ {
150
+ "name": "test",
151
+ "description": "Run tests for a project.",
152
+ "args": [
153
+ {
154
+ "name": "[files or directories...]",
155
+ "type": "path",
156
+ "required": false,
157
+ "description": "The tests to run"
158
+ }
159
+ ],
160
+ "options": [
161
+ {
162
+ "name": "--name",
163
+ "short": "-n",
164
+ "description": "A regular expression matching the name of the test to run.",
165
+ "type": "string"
166
+ },
167
+ {
168
+ "name": "--tags",
169
+ "short": "-t",
170
+ "description": "Run only tests with all of the specified tags.",
171
+ "type": "string"
172
+ }
173
+ ],
174
+ "examples": [
175
+ "dart test",
176
+ "dart test test/my_test.dart"
177
+ ]
178
+ }
179
+ ],
180
+ "globalOptions": [
181
+ {
182
+ "name": "--verbose",
183
+ "short": "-v",
184
+ "description": "Show additional command output."
185
+ },
186
+ {
187
+ "name": "--version",
188
+ "description": "Print the Dart SDK version."
189
+ },
190
+ {
191
+ "name": "--help",
192
+ "short": "-h",
193
+ "description": "Print this usage information."
194
+ }
195
+ ],
196
+ "examples": [
197
+ "dart run bin/myapp.dart",
198
+ "dart pub get",
199
+ "dart format lib/",
200
+ "dart test"
201
+ ],
202
+ "relatedCommands": [
203
+ "flutter"
204
+ ],
205
+ "contextEngine": {
206
+ "detectors": [
207
+ {
208
+ "name": "version",
209
+ "description": "Dart SDK Version",
210
+ "command": "dart --version 2>/dev/null",
211
+ "parser": "text",
212
+ "cacheFor": 3600
213
+ }
214
+ ]
215
+ }
216
+ }
@@ -0,0 +1,257 @@
1
+ {
2
+ "name": "dbmate",
3
+ "description": "Dbmate is a lightweight, framework-agnostic database migration tool written in Go. It supports PostgreSQL, MySQL, SQLite, ClickHouse, and BigQuery with plain SQL migrations.",
4
+ "category": "database-orm",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [
8
+ {
9
+ "name": "new",
10
+ "description": "Create a new migration file with a timestamp prefix. The file contains empty -- migrate:up and -- migrate:down sections for writing SQL.",
11
+ "args": [
12
+ {"name": "name", "type": "string", "required": true, "description": "Name for the migration (used in the filename)"}
13
+ ],
14
+ "options": [],
15
+ "examples": [
16
+ "dbmate new create_users_table",
17
+ "dbmate new add_email_to_users",
18
+ "dbmate new create_orders_and_items",
19
+ "dbmate new add_index_on_users_email",
20
+ "dbmate -d ./migrations/postgres new create_sessions_table"
21
+ ]
22
+ },
23
+ {
24
+ "name": "up",
25
+ "description": "Apply all pending migrations in chronological order. Creates the database if it does not exist. Skips migrations that have already been applied.",
26
+ "args": [],
27
+ "options": [
28
+ {"name": "--url", "short": "-u", "description": "Database connection URL (overrides DATABASE_URL)", "type": "string"},
29
+ {"name": "--env", "short": "-e", "description": "Environment variable name containing the database URL (default: DATABASE_URL)", "type": "string"},
30
+ {"name": "--migrations-dir", "short": "-d", "description": "Path to the migrations directory", "type": "string"},
31
+ {"name": "--migrations-table", "description": "Name of the migrations tracking table (default: schema_migrations)", "type": "string"},
32
+ {"name": "--no-dump-schema", "description": "Skip updating the schema dump file after migration"},
33
+ {"name": "--strict", "description": "Fail if migrations are applied out of order"},
34
+ {"name": "--verbose", "description": "Show verbose output including SQL being executed"}
35
+ ],
36
+ "examples": [
37
+ "dbmate up",
38
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb?sslmode=disable' up",
39
+ "dbmate -e MY_DATABASE_URL up",
40
+ "dbmate -d ./db/migrations up",
41
+ "dbmate up --strict",
42
+ "dbmate up --verbose",
43
+ "dbmate up --no-dump-schema"
44
+ ]
45
+ },
46
+ {
47
+ "name": "down",
48
+ "description": "Roll back the most recently applied migration by executing its -- migrate:down section.",
49
+ "args": [],
50
+ "options": [
51
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
52
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
53
+ {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
54
+ {"name": "--migrations-table", "description": "Name of the migrations tracking table", "type": "string"},
55
+ {"name": "--no-dump-schema", "description": "Skip updating the schema dump file"},
56
+ {"name": "--verbose", "description": "Show verbose output"}
57
+ ],
58
+ "examples": [
59
+ "dbmate down",
60
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb' down",
61
+ "dbmate down --verbose"
62
+ ]
63
+ },
64
+ {
65
+ "name": "rollback",
66
+ "description": "Alias for the 'down' command. Roll back the most recently applied migration.",
67
+ "args": [],
68
+ "options": [
69
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
70
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
71
+ {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
72
+ {"name": "--verbose", "description": "Show verbose output"}
73
+ ],
74
+ "examples": [
75
+ "dbmate rollback",
76
+ "dbmate rollback --verbose"
77
+ ]
78
+ },
79
+ {
80
+ "name": "migrate",
81
+ "description": "Apply all pending migrations (alias for 'up'). Creates the database if it doesn't exist and applies migrations in order.",
82
+ "args": [],
83
+ "options": [
84
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
85
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
86
+ {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
87
+ {"name": "--strict", "description": "Fail if migrations are out of order"},
88
+ {"name": "--verbose", "description": "Show verbose output"}
89
+ ],
90
+ "examples": [
91
+ "dbmate migrate",
92
+ "dbmate -u 'mysql://root:pass@localhost:3306/mydb' migrate",
93
+ "dbmate migrate --strict"
94
+ ]
95
+ },
96
+ {
97
+ "name": "create",
98
+ "description": "Create the database specified in the connection URL if it does not already exist.",
99
+ "args": [],
100
+ "options": [
101
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
102
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"}
103
+ ],
104
+ "examples": [
105
+ "dbmate create",
106
+ "dbmate -u 'postgres://user:pass@localhost:5432/newdb' create",
107
+ "dbmate -e STAGING_DATABASE_URL create"
108
+ ]
109
+ },
110
+ {
111
+ "name": "drop",
112
+ "description": "Drop the database specified in the connection URL. WARNING: This permanently destroys the database and all data.",
113
+ "args": [],
114
+ "options": [
115
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
116
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"}
117
+ ],
118
+ "examples": [
119
+ "dbmate drop",
120
+ "dbmate -u 'postgres://user:pass@localhost:5432/testdb' drop",
121
+ "dbmate -e TEST_DATABASE_URL drop"
122
+ ]
123
+ },
124
+ {
125
+ "name": "dump",
126
+ "description": "Dump the current database schema to a file (default: db/schema.sql). Uses the database's native dump utility (pg_dump, mysqldump, etc.).",
127
+ "args": [],
128
+ "options": [
129
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
130
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
131
+ {"name": "--schema-file", "short": "-s", "description": "Path for the schema dump file (default: db/schema.sql)", "type": "string"}
132
+ ],
133
+ "examples": [
134
+ "dbmate dump",
135
+ "dbmate dump -s ./schema/database.sql",
136
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb' dump"
137
+ ]
138
+ },
139
+ {
140
+ "name": "status",
141
+ "description": "Display the status of all migrations, showing which have been applied and which are pending.",
142
+ "args": [],
143
+ "options": [
144
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
145
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
146
+ {"name": "--migrations-dir", "short": "-d", "description": "Path to migrations directory", "type": "string"},
147
+ {"name": "--migrations-table", "description": "Name of the migrations tracking table", "type": "string"}
148
+ ],
149
+ "examples": [
150
+ "dbmate status",
151
+ "dbmate -u 'postgres://user:pass@localhost:5432/mydb' status",
152
+ "dbmate -d ./db/migrations status"
153
+ ]
154
+ },
155
+ {
156
+ "name": "wait",
157
+ "description": "Wait for the database to become available. Useful in Docker/container environments where the database may take time to start.",
158
+ "args": [],
159
+ "options": [
160
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
161
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
162
+ {"name": "--wait-timeout", "description": "Timeout in seconds to wait for database (default: 60s)", "type": "string"}
163
+ ],
164
+ "examples": [
165
+ "dbmate wait",
166
+ "dbmate wait --wait-timeout=120",
167
+ "dbmate -u 'postgres://user:pass@db:5432/mydb' wait && dbmate up",
168
+ "dbmate wait && dbmate migrate"
169
+ ]
170
+ },
171
+ {
172
+ "name": "load",
173
+ "description": "Load the schema file (db/schema.sql) directly into the database, bypassing individual migrations. Useful for initializing a new database from a known schema.",
174
+ "args": [],
175
+ "options": [
176
+ {"name": "--url", "short": "-u", "description": "Database connection URL", "type": "string"},
177
+ {"name": "--env", "short": "-e", "description": "Environment variable name for database URL", "type": "string"},
178
+ {"name": "--schema-file", "short": "-s", "description": "Path to the schema file to load", "type": "string"}
179
+ ],
180
+ "examples": [
181
+ "dbmate load",
182
+ "dbmate load -s ./schema/database.sql",
183
+ "dbmate -u 'postgres://user:pass@localhost:5432/newdb' load"
184
+ ]
185
+ }
186
+ ],
187
+ "globalOptions": [
188
+ {"name": "--help", "short": "-h", "description": "Show help information"},
189
+ {"name": "--version", "short": "-V", "description": "Show dbmate version"},
190
+ {"name": "--url", "short": "-u", "description": "Database connection URL (default: $DATABASE_URL)", "type": "string"},
191
+ {"name": "--env", "short": "-e", "description": "Environment variable name containing the database URL", "type": "string"},
192
+ {"name": "--migrations-dir", "short": "-d", "description": "Path to the migrations directory (default: ./db/migrations)", "type": "string"},
193
+ {"name": "--migrations-table", "description": "Name of the table to track applied migrations (default: schema_migrations)", "type": "string"},
194
+ {"name": "--schema-file", "short": "-s", "description": "Path to the schema dump file (default: ./db/schema.sql)", "type": "string"},
195
+ {"name": "--no-dump-schema", "description": "Do not update the schema dump file after migrating"},
196
+ {"name": "--wait-timeout", "description": "Timeout in seconds for the wait command (default: 60)", "type": "string"},
197
+ {"name": "--strict", "description": "Fail if migrations would be applied out of order"},
198
+ {"name": "--verbose", "description": "Show verbose output"}
199
+ ],
200
+ "examples": [
201
+ "dbmate new create_users_table",
202
+ "dbmate up",
203
+ "dbmate down",
204
+ "dbmate status",
205
+ "dbmate create",
206
+ "dbmate drop",
207
+ "dbmate dump",
208
+ "dbmate load",
209
+ "dbmate wait && dbmate up",
210
+ "DATABASE_URL='postgres://user:pass@localhost:5432/mydb' dbmate up",
211
+ "dbmate -u 'sqlite:./data/app.db' up",
212
+ "dbmate -u 'mysql://root:pass@localhost:3306/mydb' migrate",
213
+ "dbmate -d ./migrations -s ./schema.sql up --no-dump-schema",
214
+ "dbmate rollback",
215
+ "dbmate new add_indexes && dbmate up"
216
+ ],
217
+ "relatedCommands": ["flyway", "alembic", "liquibase", "pg_dump", "psql", "mysql"],
218
+ "contextEngine": {
219
+ "detectors": [
220
+ {
221
+ "name": "dbmate_migrations_detect",
222
+ "description": "Detect dbmate migration files",
223
+ "command": "find . -path '*/db/migrations/*.sql' -type f 2>/dev/null | head -10",
224
+ "parser": "lines",
225
+ "cacheFor": 30
226
+ },
227
+ {
228
+ "name": "dbmate_schema_detect",
229
+ "description": "Detect dbmate schema dump file",
230
+ "command": "find . -path '*/db/schema.sql' -type f 2>/dev/null | head -3",
231
+ "parser": "lines",
232
+ "cacheFor": 60
233
+ },
234
+ {
235
+ "name": "dbmate_version",
236
+ "description": "Get installed dbmate version",
237
+ "command": "dbmate --version 2>/dev/null || echo 'not installed'",
238
+ "parser": "lines",
239
+ "cacheFor": 120
240
+ },
241
+ {
242
+ "name": "dbmate_database_url_detect",
243
+ "description": "Check if DATABASE_URL environment variable is set",
244
+ "command": "echo ${DATABASE_URL:+set} || echo 'not set'",
245
+ "parser": "lines",
246
+ "cacheFor": 30
247
+ },
248
+ {
249
+ "name": "dbmate_status_detect",
250
+ "description": "Get current migration status",
251
+ "command": "dbmate status 2>/dev/null | head -15 || echo 'not available'",
252
+ "parser": "lines",
253
+ "cacheFor": 30
254
+ }
255
+ ]
256
+ }
257
+ }