@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,261 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "flyway",
|
|
3
|
+
"description": "Flyway is a database migration tool that supports versioned and repeatable migrations using SQL or Java, with strong emphasis on simplicity and convention over configuration",
|
|
4
|
+
"category": "database-orm",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [
|
|
8
|
+
{
|
|
9
|
+
"name": "migrate",
|
|
10
|
+
"description": "Apply all pending versioned migrations to the database in order. Repeatable migrations are applied after versioned migrations when their checksum changes.",
|
|
11
|
+
"args": [],
|
|
12
|
+
"options": [
|
|
13
|
+
{"name": "-url", "description": "JDBC URL of the database to migrate", "type": "string"},
|
|
14
|
+
{"name": "-user", "description": "Database user for the connection", "type": "string"},
|
|
15
|
+
{"name": "-password", "description": "Database password for the connection", "type": "string"},
|
|
16
|
+
{"name": "-schemas", "description": "Comma-separated list of schemas to manage", "type": "string"},
|
|
17
|
+
{"name": "-table", "description": "Name of the schema history table (default: flyway_schema_history)", "type": "string"},
|
|
18
|
+
{"name": "-locations", "description": "Comma-separated list of locations to scan for migrations", "type": "string"},
|
|
19
|
+
{"name": "-target", "description": "Target version up to which migrations should be applied", "type": "string"},
|
|
20
|
+
{"name": "-outOfOrder", "description": "Allow out-of-order migrations (default: false)", "type": "string"},
|
|
21
|
+
{"name": "-connectRetries", "description": "Number of retries for database connections", "type": "string"},
|
|
22
|
+
{"name": "-mixed", "description": "Allow mixing transactional and non-transactional statements in a migration", "type": "string"},
|
|
23
|
+
{"name": "-group", "description": "Group all pending migrations in a single transaction", "type": "string"},
|
|
24
|
+
{"name": "-validateOnMigrate", "description": "Validate applied migrations against resolved ones", "type": "string"},
|
|
25
|
+
{"name": "-baselineOnMigrate", "description": "Automatically baseline when migrating against a non-empty schema", "type": "string"},
|
|
26
|
+
{"name": "-cherryPick", "description": "Apply only specific migrations by version", "type": "string"}
|
|
27
|
+
],
|
|
28
|
+
"examples": [
|
|
29
|
+
"flyway migrate",
|
|
30
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin -password=secret migrate",
|
|
31
|
+
"flyway migrate -target=5",
|
|
32
|
+
"flyway migrate -outOfOrder=true",
|
|
33
|
+
"flyway migrate -group=true",
|
|
34
|
+
"flyway migrate -baselineOnMigrate=true",
|
|
35
|
+
"flyway -configFiles=conf/flyway.conf migrate"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "clean",
|
|
40
|
+
"description": "Drop all objects (tables, views, procedures, triggers, etc.) in the configured schemas. WARNING: This is a destructive operation and should never be used against production databases.",
|
|
41
|
+
"args": [],
|
|
42
|
+
"options": [
|
|
43
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
44
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
45
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
46
|
+
{"name": "-schemas", "description": "Schemas to clean", "type": "string"},
|
|
47
|
+
{"name": "-cleanDisabled", "description": "Set to false to enable clean (disabled by default for safety)", "type": "string"}
|
|
48
|
+
],
|
|
49
|
+
"examples": [
|
|
50
|
+
"flyway clean",
|
|
51
|
+
"flyway -url=jdbc:mysql://localhost:3306/testdb -user=root clean",
|
|
52
|
+
"flyway clean -cleanDisabled=false"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "info",
|
|
57
|
+
"description": "Display the details and status of all migrations, showing applied, pending, and failed migrations with their versions and descriptions.",
|
|
58
|
+
"args": [],
|
|
59
|
+
"options": [
|
|
60
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
61
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
62
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
63
|
+
{"name": "-outputType", "description": "Output format: text or json", "type": "string"},
|
|
64
|
+
{"name": "-infoSinceDate", "description": "Show only migrations applied after this date", "type": "string"},
|
|
65
|
+
{"name": "-infoSinceVersion", "description": "Show only migrations from this version onwards", "type": "string"}
|
|
66
|
+
],
|
|
67
|
+
"examples": [
|
|
68
|
+
"flyway info",
|
|
69
|
+
"flyway info -outputType=json",
|
|
70
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin info",
|
|
71
|
+
"flyway info -infoSinceVersion=3"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "validate",
|
|
76
|
+
"description": "Validate applied migrations against the locally available ones. Detects accidental changes to already applied migrations and verifies checksums match.",
|
|
77
|
+
"args": [],
|
|
78
|
+
"options": [
|
|
79
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
80
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
81
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
82
|
+
{"name": "-ignoreMigrationPatterns", "description": "Patterns for migrations to ignore during validation", "type": "string"}
|
|
83
|
+
],
|
|
84
|
+
"examples": [
|
|
85
|
+
"flyway validate",
|
|
86
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb validate",
|
|
87
|
+
"flyway validate -ignoreMigrationPatterns='*:pending'"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "undo",
|
|
92
|
+
"description": "Undo the most recently applied versioned migration. Requires Flyway Teams/Enterprise edition. Executes the undo script associated with the migration.",
|
|
93
|
+
"args": [],
|
|
94
|
+
"options": [
|
|
95
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
96
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
97
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
98
|
+
{"name": "-target", "description": "Target version to undo down to", "type": "string"},
|
|
99
|
+
{"name": "-cherryPick", "description": "Undo only specific migration versions", "type": "string"}
|
|
100
|
+
],
|
|
101
|
+
"examples": [
|
|
102
|
+
"flyway undo",
|
|
103
|
+
"flyway undo -target=3",
|
|
104
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin undo"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "baseline",
|
|
109
|
+
"description": "Baseline an existing database, marking it as the starting point for future Flyway migrations. Introduces Flyway to a pre-existing database.",
|
|
110
|
+
"args": [],
|
|
111
|
+
"options": [
|
|
112
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
113
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
114
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
115
|
+
{"name": "-baselineVersion", "description": "Version to tag the existing schema with (default: 1)", "type": "string"},
|
|
116
|
+
{"name": "-baselineDescription", "description": "Description to tag the existing schema with", "type": "string"}
|
|
117
|
+
],
|
|
118
|
+
"examples": [
|
|
119
|
+
"flyway baseline",
|
|
120
|
+
"flyway baseline -baselineVersion=5 -baselineDescription='Initial baseline'",
|
|
121
|
+
"flyway -url=jdbc:mysql://localhost/mydb -user=root baseline"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "repair",
|
|
126
|
+
"description": "Repair the schema history table by removing failed migration entries (for databases without DDL transactions) and realigning checksums and descriptions.",
|
|
127
|
+
"args": [],
|
|
128
|
+
"options": [
|
|
129
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
130
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
131
|
+
{"name": "-password", "description": "Database password", "type": "string"}
|
|
132
|
+
],
|
|
133
|
+
"examples": [
|
|
134
|
+
"flyway repair",
|
|
135
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb repair"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "snapshot",
|
|
140
|
+
"description": "Capture a snapshot of the database schema structure for later comparison or diffing. Requires Flyway Teams edition.",
|
|
141
|
+
"args": [],
|
|
142
|
+
"options": [
|
|
143
|
+
{"name": "-url", "description": "JDBC URL of the database to snapshot", "type": "string"},
|
|
144
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
145
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
146
|
+
{"name": "-snapshot.filename", "description": "Output file for the snapshot", "type": "string"},
|
|
147
|
+
{"name": "-schemas", "description": "Schemas to include in the snapshot", "type": "string"}
|
|
148
|
+
],
|
|
149
|
+
"examples": [
|
|
150
|
+
"flyway snapshot -snapshot.filename=schema_snapshot.json",
|
|
151
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb snapshot -snapshot.filename=prod.json"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "diff",
|
|
156
|
+
"description": "Compare two database schemas, migration directories, or snapshots and show the differences. Requires Flyway Teams edition.",
|
|
157
|
+
"args": [],
|
|
158
|
+
"options": [
|
|
159
|
+
{"name": "-diff.source", "description": "Source for comparison (url, empty, migrations, snapshot)", "type": "string"},
|
|
160
|
+
{"name": "-diff.target", "description": "Target for comparison", "type": "string"},
|
|
161
|
+
{"name": "-diff.artifactFilename", "description": "Output file for the generated diff migration", "type": "string"},
|
|
162
|
+
{"name": "-url", "description": "Database URL for the source", "type": "string"},
|
|
163
|
+
{"name": "-diff.buildUrl", "description": "Database URL for the target environment", "type": "string"}
|
|
164
|
+
],
|
|
165
|
+
"examples": [
|
|
166
|
+
"flyway diff -diff.source=url -diff.target=migrations",
|
|
167
|
+
"flyway diff -diff.source=url -diff.target=empty -diff.artifactFilename=changes.sql"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "check",
|
|
172
|
+
"description": "Check for schema drift, pending changes, or perform dry-run analysis. Supports sub-operations: changes, drift, and dry-run. Requires Flyway Teams edition.",
|
|
173
|
+
"args": [],
|
|
174
|
+
"options": [
|
|
175
|
+
{"name": "-changes", "description": "Check for pending schema changes"},
|
|
176
|
+
{"name": "-drift", "description": "Check for drift between the database and applied migrations"},
|
|
177
|
+
{"name": "-dryrun", "description": "Perform a dry-run of pending migrations without applying them"},
|
|
178
|
+
{"name": "-url", "description": "JDBC URL of the database", "type": "string"},
|
|
179
|
+
{"name": "-user", "description": "Database user", "type": "string"},
|
|
180
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
181
|
+
{"name": "-check.buildUrl", "description": "URL for a clean build database for comparison", "type": "string"},
|
|
182
|
+
{"name": "-outputType", "description": "Output format: text or json", "type": "string"},
|
|
183
|
+
{"name": "-check.reportFilename", "description": "Path for the check report file", "type": "string"}
|
|
184
|
+
],
|
|
185
|
+
"examples": [
|
|
186
|
+
"flyway check -changes",
|
|
187
|
+
"flyway check -drift",
|
|
188
|
+
"flyway check -dryrun",
|
|
189
|
+
"flyway check -changes -check.buildUrl=jdbc:postgresql://localhost/builddb",
|
|
190
|
+
"flyway check -changes -outputType=json -check.reportFilename=report.json"
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"globalOptions": [
|
|
195
|
+
{"name": "-help", "description": "Show help information"},
|
|
196
|
+
{"name": "-version", "description": "Show Flyway version"},
|
|
197
|
+
{"name": "-url", "description": "JDBC URL to the database", "type": "string"},
|
|
198
|
+
{"name": "-user", "description": "Database username", "type": "string"},
|
|
199
|
+
{"name": "-password", "description": "Database password", "type": "string"},
|
|
200
|
+
{"name": "-driver", "description": "Fully qualified class name of the JDBC driver", "type": "string"},
|
|
201
|
+
{"name": "-schemas", "description": "Comma-separated list of schemas managed by Flyway", "type": "string"},
|
|
202
|
+
{"name": "-table", "description": "Name of the schema history table", "type": "string"},
|
|
203
|
+
{"name": "-locations", "description": "Comma-separated list of locations to scan for migrations", "type": "string"},
|
|
204
|
+
{"name": "-configFiles", "description": "Comma-separated list of configuration files to load", "type": "string"},
|
|
205
|
+
{"name": "-encoding", "description": "Encoding of SQL migration files (default: UTF-8)", "type": "string"},
|
|
206
|
+
{"name": "-placeholders", "description": "Placeholders to replace in SQL migrations (key=value format)", "type": "string"},
|
|
207
|
+
{"name": "-outputType", "description": "Output format: text or json", "type": "string"},
|
|
208
|
+
{"name": "-environment", "description": "The environment to use from TOML config", "type": "string"},
|
|
209
|
+
{"name": "-workingDirectory", "description": "Working directory for Flyway", "type": "string"},
|
|
210
|
+
{"name": "-teams", "description": "Enable Flyway Teams features"},
|
|
211
|
+
{"name": "-color", "description": "Colorize output: always, never, auto", "type": "string"}
|
|
212
|
+
],
|
|
213
|
+
"examples": [
|
|
214
|
+
"flyway migrate",
|
|
215
|
+
"flyway info",
|
|
216
|
+
"flyway validate",
|
|
217
|
+
"flyway clean",
|
|
218
|
+
"flyway baseline",
|
|
219
|
+
"flyway repair",
|
|
220
|
+
"flyway undo",
|
|
221
|
+
"flyway -url=jdbc:postgresql://localhost:5432/mydb -user=admin -password=secret migrate",
|
|
222
|
+
"flyway -configFiles=flyway.conf migrate",
|
|
223
|
+
"flyway info -outputType=json",
|
|
224
|
+
"flyway migrate -target=5 -outOfOrder=true",
|
|
225
|
+
"flyway snapshot -snapshot.filename=schema.json",
|
|
226
|
+
"flyway check -changes -check.buildUrl=jdbc:postgresql://localhost/builddb"
|
|
227
|
+
],
|
|
228
|
+
"relatedCommands": ["liquibase", "alembic", "dbmate"],
|
|
229
|
+
"contextEngine": {
|
|
230
|
+
"detectors": [
|
|
231
|
+
{
|
|
232
|
+
"name": "flyway_config_detect",
|
|
233
|
+
"description": "Detect Flyway configuration files",
|
|
234
|
+
"command": "find . -maxdepth 2 -name 'flyway.conf' -o -name 'flyway.toml' 2>/dev/null | head -5",
|
|
235
|
+
"parser": "lines",
|
|
236
|
+
"cacheFor": 60
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "flyway_migrations_detect",
|
|
240
|
+
"description": "Detect Flyway SQL migration files",
|
|
241
|
+
"command": "find . -path '*/db/migration/*' -name 'V*.sql' -o -name 'R*.sql' -o -name 'U*.sql' 2>/dev/null | head -10",
|
|
242
|
+
"parser": "lines",
|
|
243
|
+
"cacheFor": 30
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "flyway_version",
|
|
247
|
+
"description": "Get installed Flyway version",
|
|
248
|
+
"command": "flyway -version 2>/dev/null | head -3 || echo 'not installed'",
|
|
249
|
+
"parser": "lines",
|
|
250
|
+
"cacheFor": 120
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "flyway_info_detect",
|
|
254
|
+
"description": "Get current migration status",
|
|
255
|
+
"command": "flyway info 2>/dev/null | head -20 || echo 'not available'",
|
|
256
|
+
"parser": "lines",
|
|
257
|
+
"cacheFor": 30
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fzf",
|
|
3
|
+
"description": "A general-purpose command-line fuzzy finder. It is an interactive Unix filter for command-line that can be used with any list: files, command history, processes, hostnames, bookmarks, git commits, etc.",
|
|
4
|
+
"category": "utilities",
|
|
5
|
+
"platforms": ["linux", "macos", "windows"],
|
|
6
|
+
"shells": ["bash", "zsh", "fish", "powershell"],
|
|
7
|
+
"subcommands": [],
|
|
8
|
+
"globalOptions": [
|
|
9
|
+
{ "name": "--extended", "short": "-x", "description": "Extended-search mode. Since 0.10.9, this is enabled by default. You can disable it with +x or --no-extended", "type": "boolean" },
|
|
10
|
+
{ "name": "--exact", "short": "-e", "description": "Enable exact-match mode. In this mode, fzf only matches the exact search string", "type": "boolean" },
|
|
11
|
+
{ "name": "--algo", "description": "Fuzzy matching algorithm. v2 (default) is optimized for common use cases; v1 uses a simpler but faster algorithm", "type": "string" },
|
|
12
|
+
{ "name": "--multi", "short": "-m", "description": "Enable multi-select with tab/shift-tab. Optionally specify the maximum number of selections with -m N", "type": "string" },
|
|
13
|
+
{ "name": "--no-mouse", "description": "Disable mouse support", "type": "boolean" },
|
|
14
|
+
{ "name": "--bind", "description": "Custom key bindings. Refer to the man page for the full list of available actions. e.g. --bind 'ctrl-j:accept,ctrl-k:kill-line'", "type": "string" },
|
|
15
|
+
{ "name": "--cycle", "description": "Enable cyclic scroll, allowing the cursor to wrap around from the end of the list to the beginning and vice versa", "type": "boolean" },
|
|
16
|
+
{ "name": "--keep-right", "description": "Keep the right end of the line visible when it is too long. Effective only when the query string is empty", "type": "boolean" },
|
|
17
|
+
{ "name": "--scroll-off", "description": "Number of screen lines to keep above or below when scrolling to the top or to the bottom", "type": "string" },
|
|
18
|
+
{ "name": "--no-hscroll", "description": "Disable horizontal scroll of the preview window", "type": "boolean" },
|
|
19
|
+
{ "name": "--filepath-word", "description": "Make word-wise movements and actions respect path separators. The following actions are affected: backward-kill-word, backward-word, forward-word, kill-word", "type": "boolean" },
|
|
20
|
+
{ "name": "--jump-labels", "description": "Label characters for jump and jump-accept actions", "type": "string" },
|
|
21
|
+
{ "name": "--height", "description": "Display fzf window below the cursor with the given height instead of using the full screen. Accepts percentage value (e.g. --height 40%) or the number of lines", "type": "string" },
|
|
22
|
+
{ "name": "--min-height", "description": "Minimum height when --height is given in percent. Ignored when --height is not specified", "type": "string" },
|
|
23
|
+
{ "name": "--layout", "description": "Choose the layout: 'default' (from the bottom of the screen), 'reverse' (from the top), 'reverse-list' (prompt at the bottom)", "type": "string" },
|
|
24
|
+
{ "name": "--border", "description": "Draw border around the finder. Style can be: rounded, sharp, bold, double, horizontal, vertical, top, bottom, left, right, none", "type": "string" },
|
|
25
|
+
{ "name": "--margin", "description": "Comma-separated expression for margins around the finder. e.g. --margin 1,5 or --margin 1,2,3,4 (top, right, bottom, left)", "type": "string" },
|
|
26
|
+
{ "name": "--padding", "description": "Comma-separated expression for padding inside the border. Same format as --margin", "type": "string" },
|
|
27
|
+
{ "name": "--info", "description": "Determines the display style of the finder info. default: display on the next line, inline: display on the same line, hidden: do not display", "type": "string" },
|
|
28
|
+
{ "name": "--prompt", "description": "Input prompt string (default: '> ')", "type": "string" },
|
|
29
|
+
{ "name": "--pointer", "description": "Pointer to the current line (default: '>')", "type": "string" },
|
|
30
|
+
{ "name": "--marker", "description": "Multi-select marker (default: '>')", "type": "string" },
|
|
31
|
+
{ "name": "--header", "description": "The given string will be printed as the sticky header. The lines are displayed in the given order from top to bottom", "type": "string" },
|
|
32
|
+
{ "name": "--header-lines", "description": "The first N lines of the input are treated as the sticky header", "type": "string" },
|
|
33
|
+
{ "name": "--header-first", "description": "Print header before the prompt line", "type": "boolean" },
|
|
34
|
+
{ "name": "--ansi", "description": "Enable processing of ANSI color codes in the input", "type": "boolean" },
|
|
35
|
+
{ "name": "--tabstop", "description": "Number of spaces for a tab character (default: 8)", "type": "string" },
|
|
36
|
+
{ "name": "--color", "description": "Color configuration. Base scheme and/or custom color mappings. e.g. --color=dark or --color='fg:12,bg:0,hl:4'", "type": "string" },
|
|
37
|
+
{ "name": "--no-bold", "description": "Do not use bold text", "type": "boolean" },
|
|
38
|
+
{ "name": "--history", "description": "Load search history from the specified file and update on exit. When enabled, ctrl-n and ctrl-p navigate through history", "type": "string" },
|
|
39
|
+
{ "name": "--history-size", "description": "Maximum number of entries in the history file (default: 1000). The file is automatically truncated when the number exceeds the limit", "type": "string" },
|
|
40
|
+
{ "name": "--preview", "description": "Execute the given command for the current line and display the result in the preview window. {} in the command is replaced with the single-quoted string of the current line", "type": "string" },
|
|
41
|
+
{ "name": "--preview-window", "description": "Determines the layout of the preview window. e.g. --preview-window=up:40%:wrap or --preview-window=right:60%:hidden", "type": "string" },
|
|
42
|
+
{ "name": "--preview-label", "description": "Label to print on the border of the preview window", "type": "string" },
|
|
43
|
+
{ "name": "--query", "short": "-q", "description": "Start the finder with the given initial query", "type": "string" },
|
|
44
|
+
{ "name": "--select-1", "short": "-1", "description": "If there is only one match for the initial query, do not start the interactive finder and automatically select the only match", "type": "boolean" },
|
|
45
|
+
{ "name": "--exit-0", "short": "-0", "description": "If there is no match for the initial query, do not start the interactive finder and exit immediately", "type": "boolean" },
|
|
46
|
+
{ "name": "--filter", "short": "-f", "description": "Filter mode. Do not start the interactive finder. Applied to each line of input and print matches in order of decreasing relevance", "type": "string" },
|
|
47
|
+
{ "name": "--print-query", "description": "Print query as the first line of the output", "type": "boolean" },
|
|
48
|
+
{ "name": "--expect", "description": "Comma-separated list of keys that can be used to complete fzf in addition to the default enter key", "type": "string" },
|
|
49
|
+
{ "name": "--read0", "description": "Read input delimited by ASCII NUL characters instead of newline characters", "type": "boolean" },
|
|
50
|
+
{ "name": "--print0", "description": "Print output delimited by ASCII NUL characters instead of newline characters", "type": "boolean" },
|
|
51
|
+
{ "name": "--sync", "description": "Synchronous search for multi-staged filtering. fzf will wait for the input to finish before starting the finder", "type": "boolean" },
|
|
52
|
+
{ "name": "--listen", "description": "Start HTTP server on the given port and allow remote actions via HTTP", "type": "string" },
|
|
53
|
+
{ "name": "--walker", "description": "Comma-separated list of walker options: file, dir, follow, hidden. Controls what the built-in filesystem walker includes", "type": "string" },
|
|
54
|
+
{ "name": "--walker-root", "description": "Root directory from which the built-in filesystem walker starts. Default is the current directory", "type": "string" },
|
|
55
|
+
{ "name": "--walker-skip", "description": "Comma-separated list of directory names to skip when walking the filesystem. e.g. --walker-skip .git,node_modules", "type": "string" },
|
|
56
|
+
{ "name": "--delimiter", "short": "-d", "description": "Field delimiter regex for --nth and --with-nth (default: AWK-style)", "type": "string" },
|
|
57
|
+
{ "name": "--with-nth", "short": "-n", "description": "Comma-separated list of field index expressions for limiting the display. Fields are determined by --delimiter", "type": "string" },
|
|
58
|
+
{ "name": "--nth", "description": "Comma-separated list of field index expressions for limiting search scope. Each can be a non-zero integer or a range expression (e.g. 1, 2..5, ..-1)", "type": "string" },
|
|
59
|
+
{ "name": "--sort", "description": "Sort the result. Optionally specify the number of entries to sort (default: 1000). +s or --no-sort to disable sorting", "type": "string" },
|
|
60
|
+
{ "name": "--tac", "description": "Reverse the order of the input", "type": "boolean" },
|
|
61
|
+
{ "name": "--disabled", "description": "Do not perform search. Useful for turning fzf into an interactive selector with a custom filtering mechanism via --bind and reload action", "type": "boolean" },
|
|
62
|
+
{ "name": "--tiebreak", "description": "Comma-separated list of sort criteria to apply when the scores are tied. Available criteria: length, chunk, begin, end, index (default: length)", "type": "string" },
|
|
63
|
+
{ "name": "--phony", "description": "Deprecated alias for --disabled", "type": "boolean" }
|
|
64
|
+
],
|
|
65
|
+
"examples": [
|
|
66
|
+
"find . -type f | fzf",
|
|
67
|
+
"git log --oneline | fzf --multi --preview 'git show {1}'",
|
|
68
|
+
"fzf --preview 'bat --color=always {}'",
|
|
69
|
+
"export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'",
|
|
70
|
+
"vim $(fzf)",
|
|
71
|
+
"kill -9 $(ps aux | fzf | awk '{print $2}')",
|
|
72
|
+
"fzf --height 40% --reverse --border --preview 'cat {}'",
|
|
73
|
+
"fd --type f | fzf --multi --bind 'ctrl-a:select-all'",
|
|
74
|
+
"history | fzf --tac --no-sort",
|
|
75
|
+
"fzf --walker file,hidden --walker-skip .git,node_modules"
|
|
76
|
+
],
|
|
77
|
+
"relatedCommands": ["rg", "fd", "bat", "grep", "find"],
|
|
78
|
+
"contextEngine": {
|
|
79
|
+
"detectors": [
|
|
80
|
+
{
|
|
81
|
+
"name": "fzf_version",
|
|
82
|
+
"description": "Detect fzf version",
|
|
83
|
+
"command": "fzf --version",
|
|
84
|
+
"parser": "lines",
|
|
85
|
+
"cacheFor": 300
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "fzf_default_opts",
|
|
89
|
+
"description": "Detect FZF_DEFAULT_OPTS environment variable",
|
|
90
|
+
"command": "echo $FZF_DEFAULT_OPTS",
|
|
91
|
+
"parser": "lines",
|
|
92
|
+
"cacheFor": 30
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "fzf_default_command",
|
|
96
|
+
"description": "Detect FZF_DEFAULT_COMMAND environment variable",
|
|
97
|
+
"command": "echo $FZF_DEFAULT_COMMAND",
|
|
98
|
+
"parser": "lines",
|
|
99
|
+
"cacheFor": 30
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gem",
|
|
3
|
+
"description": "RubyGems package manager",
|
|
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 a gem into the local repository",
|
|
20
|
+
"args": [
|
|
21
|
+
{
|
|
22
|
+
"name": "GEMNAME",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": true,
|
|
25
|
+
"description": "Name of the gem to install"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"options": [
|
|
29
|
+
{
|
|
30
|
+
"name": "--version",
|
|
31
|
+
"short": "-v",
|
|
32
|
+
"description": "Specify version of gem to install",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--bindir",
|
|
37
|
+
"short": "-n",
|
|
38
|
+
"description": "Directory where executables should be located",
|
|
39
|
+
"type": "path"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "--document",
|
|
43
|
+
"description": "Generate documentation for installed gems"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "--no-document",
|
|
47
|
+
"short": "-N",
|
|
48
|
+
"description": "Disable documentation generation"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "--system",
|
|
52
|
+
"description": "Update the RubyGems system software"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "--user-install",
|
|
56
|
+
"description": "Install in user's home directory instead of GEM_HOME"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"examples": [
|
|
60
|
+
"gem install rails",
|
|
61
|
+
"gem install ffi -v 1.15.5",
|
|
62
|
+
"gem install rubocop --no-document"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "uninstall",
|
|
67
|
+
"description": "Uninstall gems from the local repository",
|
|
68
|
+
"args": [
|
|
69
|
+
{
|
|
70
|
+
"name": "GEMNAME",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"required": true,
|
|
73
|
+
"description": "Name of the gem to uninstall"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"options": [
|
|
77
|
+
{
|
|
78
|
+
"name": "--version",
|
|
79
|
+
"short": "-v",
|
|
80
|
+
"description": "Specify version of gem to uninstall",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "--all",
|
|
85
|
+
"short": "-a",
|
|
86
|
+
"description": "Uninstall all matching versions"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "--executables",
|
|
90
|
+
"short": "-x",
|
|
91
|
+
"description": "Uninstall applicable executables without confirmation"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "--ignore-dependencies",
|
|
95
|
+
"short": "-I",
|
|
96
|
+
"description": "Ignore dependency requirements while uninstalling"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"examples": [
|
|
100
|
+
"gem uninstall ffi",
|
|
101
|
+
"gem uninstall rails -v 7.0.0"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "update",
|
|
106
|
+
"description": "Update installed gems to the latest version",
|
|
107
|
+
"args": [
|
|
108
|
+
{
|
|
109
|
+
"name": "GEMNAME",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"required": false,
|
|
112
|
+
"description": "Name of the gem to update (updates all if omitted)"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"options": [
|
|
116
|
+
{
|
|
117
|
+
"name": "--system",
|
|
118
|
+
"description": "Update the RubyGems system software"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"examples": [
|
|
122
|
+
"gem update",
|
|
123
|
+
"gem update --system",
|
|
124
|
+
"gem update rails"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "list",
|
|
129
|
+
"description": "Display local gems whose name matches REGEXP",
|
|
130
|
+
"args": [
|
|
131
|
+
{
|
|
132
|
+
"name": "REGEXP",
|
|
133
|
+
"type": "string",
|
|
134
|
+
"required": false,
|
|
135
|
+
"description": "Regular expression to match gem names"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"options": [
|
|
139
|
+
{
|
|
140
|
+
"name": "--local",
|
|
141
|
+
"short": "-l",
|
|
142
|
+
"description": "Restrict operations to the LOCAL domain"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "--remote",
|
|
146
|
+
"short": "-r",
|
|
147
|
+
"description": "Restrict operations to the REMOTE domain"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "--both",
|
|
151
|
+
"short": "-b",
|
|
152
|
+
"description": "Allow LOCAL and REMOTE operations"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "--exact",
|
|
156
|
+
"short": "-e",
|
|
157
|
+
"description": "Name of gem must match exact string"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"examples": [
|
|
161
|
+
"gem list",
|
|
162
|
+
"gem list -r rails"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "search",
|
|
167
|
+
"description": "Find gems whose name starts with REGEXP",
|
|
168
|
+
"args": [
|
|
169
|
+
{
|
|
170
|
+
"name": "REGEXP",
|
|
171
|
+
"type": "string",
|
|
172
|
+
"required": true,
|
|
173
|
+
"description": "Regular expression to match gem names"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"options": [
|
|
177
|
+
{
|
|
178
|
+
"name": "--remote",
|
|
179
|
+
"short": "-r",
|
|
180
|
+
"description": "Restrict operations to the REMOTE domain (default)"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"examples": [
|
|
184
|
+
"gem search rails"
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "info",
|
|
189
|
+
"description": "Show information for the given gem",
|
|
190
|
+
"args": [
|
|
191
|
+
{
|
|
192
|
+
"name": "GEMNAME",
|
|
193
|
+
"type": "string",
|
|
194
|
+
"required": true,
|
|
195
|
+
"description": "Name of the gem"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"options": [],
|
|
199
|
+
"examples": [
|
|
200
|
+
"gem info json"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "cleanup",
|
|
205
|
+
"description": "Clean up old versions of installed gems",
|
|
206
|
+
"args": [],
|
|
207
|
+
"options": [
|
|
208
|
+
{
|
|
209
|
+
"name": "--dry-run",
|
|
210
|
+
"short": "-d",
|
|
211
|
+
"description": "Evaluate cleanup but don't delete anything"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"examples": [
|
|
215
|
+
"gem cleanup",
|
|
216
|
+
"gem cleanup -d"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"globalOptions": [
|
|
221
|
+
{
|
|
222
|
+
"name": "--help",
|
|
223
|
+
"short": "-h",
|
|
224
|
+
"description": "Get help on this command"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "--version",
|
|
228
|
+
"short": "-V",
|
|
229
|
+
"description": "Show gem version"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "--verbose",
|
|
233
|
+
"short": "-V",
|
|
234
|
+
"description": "Set the verbose level of output"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "--quiet",
|
|
238
|
+
"short": "-q",
|
|
239
|
+
"description": "Silence commands"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "--config-file",
|
|
243
|
+
"description": "Use this config file instead of default",
|
|
244
|
+
"type": "path"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"examples": [
|
|
248
|
+
"gem install bundler",
|
|
249
|
+
"gem update --system",
|
|
250
|
+
"gem list -l"
|
|
251
|
+
],
|
|
252
|
+
"relatedCommands": [
|
|
253
|
+
"ruby",
|
|
254
|
+
"bundle"
|
|
255
|
+
],
|
|
256
|
+
"contextEngine": {
|
|
257
|
+
"detectors": [
|
|
258
|
+
{
|
|
259
|
+
"name": "gems_installed",
|
|
260
|
+
"description": "Locally installed gems",
|
|
261
|
+
"command": "gem list --local | head -15 2>/dev/null",
|
|
262
|
+
"parser": "lines",
|
|
263
|
+
"cacheFor": 300
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
}
|