@enjoys/context-engine 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/data/commands/adb.json +322 -0
  2. package/data/commands/alembic.json +301 -0
  3. package/data/commands/artisan.json +277 -0
  4. package/data/commands/atlas.json +426 -0
  5. package/data/commands/auth0.json +648 -0
  6. package/data/commands/bat.json +84 -0
  7. package/data/commands/bundle.json +321 -0
  8. package/data/commands/composer.json +507 -0
  9. package/data/commands/dart.json +216 -0
  10. package/data/commands/dbmate.json +257 -0
  11. package/data/commands/docker-compose.json +384 -0
  12. package/data/commands/drizzle-kit.json +217 -0
  13. package/data/commands/expo.json +65 -0
  14. package/data/commands/fastlane.json +243 -0
  15. package/data/commands/fd.json +86 -0
  16. package/data/commands/flutter.json +298 -0
  17. package/data/commands/flyway.json +261 -0
  18. package/data/commands/fzf.json +103 -0
  19. package/data/commands/gem.json +267 -0
  20. package/data/commands/jq.json +100 -0
  21. package/data/commands/k9s.json +62 -0
  22. package/data/commands/liquibase.json +399 -0
  23. package/data/commands/manifest.json +619 -0
  24. package/data/commands/minikube.json +60 -0
  25. package/data/commands/ng.json +64 -0
  26. package/data/commands/nuxt.json +60 -0
  27. package/data/commands/php.json +157 -0
  28. package/data/commands/pm2.json +259 -0
  29. package/data/commands/pod.json +175 -0
  30. package/data/commands/prisma.json +257 -0
  31. package/data/commands/rails.json +372 -0
  32. package/data/commands/rake.json +360 -0
  33. package/data/commands/react-native.json +57 -0
  34. package/data/commands/rg.json +103 -0
  35. package/data/commands/rspec.json +257 -0
  36. package/data/commands/ruby.json +108 -0
  37. package/data/commands/sequelize.json +342 -0
  38. package/data/commands/snyk.json +442 -0
  39. package/data/commands/sonar-scanner.json +219 -0
  40. package/data/commands/stripe.json +314 -0
  41. package/data/commands/symfony.json +449 -0
  42. package/data/commands/tmux.json +197 -0
  43. package/data/commands/trivy.json +367 -0
  44. package/data/commands/twilio.json +382 -0
  45. package/data/commands/typeorm.json +262 -0
  46. package/data/commands/vue.json +60 -0
  47. package/data/commands/wp.json +857 -0
  48. package/data/commands/xcodebuild.json +141 -0
  49. package/data/commands/yq.json +57 -0
  50. package/data/completion/bash.json +1184 -0
  51. package/data/completion/c.json +1067 -0
  52. package/data/completion/cpp.json +824 -0
  53. package/data/completion/csharp.json +860 -0
  54. package/data/completion/dockerfile.json +536 -0
  55. package/data/completion/go.json +1346 -0
  56. package/data/completion/html.json +806 -0
  57. package/data/completion/java.json +1112 -0
  58. package/data/completion/javascript.json +914 -0
  59. package/data/completion/lua.json +968 -0
  60. package/data/completion/php.json +1535 -0
  61. package/data/completion/python.json +1427 -0
  62. package/data/completion/ruby.json +1531 -0
  63. package/data/completion/rust.json +698 -0
  64. package/data/completion/sql.json +887 -0
  65. package/data/completion/toml.json +428 -0
  66. package/data/completion/typescript.json +338 -0
  67. package/data/completion/yaml.json +563 -0
  68. package/data/defination/bash.json +565 -0
  69. package/data/defination/c.json +865 -0
  70. package/data/defination/cpp.json +348 -0
  71. package/data/defination/csharp.json +144 -0
  72. package/data/defination/dockerfile.json +113 -0
  73. package/data/defination/go.json +561 -0
  74. package/data/defination/html.json +559 -0
  75. package/data/defination/java.json +184 -0
  76. package/data/defination/javascript.json +265 -0
  77. package/data/defination/lua.json +181 -0
  78. package/data/defination/php.json +726 -0
  79. package/data/defination/python.json +717 -0
  80. package/data/defination/ruby.json +670 -0
  81. package/data/defination/rust.json +207 -0
  82. package/data/defination/sql.json +473 -0
  83. package/data/defination/toml.json +251 -0
  84. package/data/defination/typescript.json +29 -0
  85. package/data/defination/yaml.json +197 -0
  86. package/data/hover/bash.json +245 -0
  87. package/data/hover/c.json +265 -0
  88. package/data/hover/cpp.json +210 -0
  89. package/data/hover/csharp.json +290 -0
  90. package/data/hover/dockerfile.json +145 -0
  91. package/data/hover/go.json +580 -0
  92. package/data/hover/html.json +250 -0
  93. package/data/hover/java.json +395 -0
  94. package/data/hover/javascript.json +330 -0
  95. package/data/hover/lua.json +265 -0
  96. package/data/hover/php.json +300 -0
  97. package/data/hover/python.json +380 -0
  98. package/data/hover/ruby.json +265 -0
  99. package/data/hover/rust.json +275 -0
  100. package/data/hover/sql.json +230 -0
  101. package/data/hover/toml.json +145 -0
  102. package/data/hover/typescript.json +120 -0
  103. package/data/hover/yaml.json +165 -0
  104. package/data/manifest.json +242 -0
  105. package/package.json +1 -1
@@ -0,0 +1,243 @@
1
+ {
2
+ "name": "fastlane",
3
+ "description": "App automation for iOS and Android",
4
+ "category": "mobile",
5
+ "platforms": [
6
+ "macos",
7
+ "linux"
8
+ ],
9
+ "shells": [
10
+ "bash",
11
+ "zsh",
12
+ "fish",
13
+ "powershell"
14
+ ],
15
+ "subcommands": [
16
+ {
17
+ "name": "action",
18
+ "description": "Shows more information for a specific command",
19
+ "args": [
20
+ {
21
+ "name": "[tool_name]",
22
+ "type": "string",
23
+ "required": false,
24
+ "description": "The name of the tool you want to see the details of"
25
+ }
26
+ ],
27
+ "options": [],
28
+ "examples": [
29
+ "fastlane action",
30
+ "fastlane action gym",
31
+ "fastlane action match"
32
+ ]
33
+ },
34
+ {
35
+ "name": "actions",
36
+ "description": "Lists all available fastlane actions",
37
+ "args": [],
38
+ "options": [],
39
+ "examples": [
40
+ "fastlane actions"
41
+ ]
42
+ },
43
+ {
44
+ "name": "add_plugin",
45
+ "description": "Add a new plugin to your fastlane setup",
46
+ "args": [
47
+ {
48
+ "name": "[plugin_name]",
49
+ "type": "string",
50
+ "required": false,
51
+ "description": "The name of the plugin"
52
+ }
53
+ ],
54
+ "options": [],
55
+ "examples": [
56
+ "fastlane add_plugin increment_version_code"
57
+ ]
58
+ },
59
+ {
60
+ "name": "docs",
61
+ "description": "Generate a markdown based documentation based on the Fastfile",
62
+ "args": [],
63
+ "options": [
64
+ {
65
+ "name": "--force",
66
+ "short": "-f",
67
+ "description": "Overwrite the existing README.md in the ./fastlane folder"
68
+ }
69
+ ],
70
+ "examples": [
71
+ "fastlane docs"
72
+ ]
73
+ },
74
+ {
75
+ "name": "init",
76
+ "description": "Helps you with your initial fastlane setup",
77
+ "args": [],
78
+ "options": [
79
+ {
80
+ "name": "--swift",
81
+ "description": "Use Swift instead of Ruby"
82
+ }
83
+ ],
84
+ "examples": [
85
+ "fastlane init"
86
+ ]
87
+ },
88
+ {
89
+ "name": "match",
90
+ "description": "Easily sync your certificates and profiles across your team using Git",
91
+ "args": [],
92
+ "options": [
93
+ {
94
+ "name": "--type",
95
+ "description": "Create a certificate for (appstore, adhoc, developer, enterprise)",
96
+ "type": "string"
97
+ },
98
+ {
99
+ "name": "--readonly",
100
+ "description": "Only fetch existing certificates and profiles, don't generate new ones"
101
+ },
102
+ {
103
+ "name": "--app_identifier",
104
+ "short": "-a",
105
+ "description": "The bundle identifier of your app",
106
+ "type": "string"
107
+ },
108
+ {
109
+ "name": "--git_url",
110
+ "description": "URL to the git repo containing all the certificates",
111
+ "type": "string"
112
+ }
113
+ ],
114
+ "examples": [
115
+ "fastlane match appstore",
116
+ "fastlane match readonly"
117
+ ]
118
+ },
119
+ {
120
+ "name": "gym",
121
+ "description": "Build your iOS/macOS app",
122
+ "args": [],
123
+ "options": [
124
+ {
125
+ "name": "--workspace",
126
+ "short": "-w",
127
+ "description": "Path to the workspace file",
128
+ "type": "path"
129
+ },
130
+ {
131
+ "name": "--project",
132
+ "short": "-p",
133
+ "description": "Path to the project file",
134
+ "type": "path"
135
+ },
136
+ {
137
+ "name": "--scheme",
138
+ "short": "-s",
139
+ "description": "The project's scheme. Make sure it's marked as `Shared`",
140
+ "type": "string"
141
+ },
142
+ {
143
+ "name": "--clean",
144
+ "short": "-c",
145
+ "description": "Should the project be cleaned before building?"
146
+ },
147
+ {
148
+ "name": "--export_method",
149
+ "description": "Method used to export the archive. (app-store, ad-hoc, package, enterprise, development, developer-id, mac-application)",
150
+ "type": "string"
151
+ }
152
+ ],
153
+ "examples": [
154
+ "fastlane gym"
155
+ ]
156
+ },
157
+ {
158
+ "name": "scan",
159
+ "description": "Run tests for your iOS and Mac apps",
160
+ "args": [],
161
+ "options": [
162
+ {
163
+ "name": "--workspace",
164
+ "short": "-w",
165
+ "description": "Path to the workspace file",
166
+ "type": "path"
167
+ },
168
+ {
169
+ "name": "--project",
170
+ "short": "-p",
171
+ "description": "Path to the project file",
172
+ "type": "path"
173
+ },
174
+ {
175
+ "name": "--scheme",
176
+ "short": "-s",
177
+ "description": "The project's scheme. Make sure it's marked as `Shared`",
178
+ "type": "string"
179
+ },
180
+ {
181
+ "name": "--device",
182
+ "description": "The name of the simulator type you want to run tests on",
183
+ "type": "string"
184
+ }
185
+ ],
186
+ "examples": [
187
+ "fastlane scan"
188
+ ]
189
+ }
190
+ ],
191
+ "globalOptions": [
192
+ {
193
+ "name": "--verbose",
194
+ "description": "Print out extra information and all commands"
195
+ },
196
+ {
197
+ "name": "--env",
198
+ "description": "Add environment(s) to use with `dotenv`",
199
+ "type": "string"
200
+ },
201
+ {
202
+ "name": "--help",
203
+ "short": "-h",
204
+ "description": "Display help syntax"
205
+ },
206
+ {
207
+ "name": "--version",
208
+ "short": "-v",
209
+ "description": "Display version"
210
+ }
211
+ ],
212
+ "examples": [
213
+ "fastlane init",
214
+ "fastlane beta",
215
+ "fastlane release",
216
+ "fastlane match appstore"
217
+ ],
218
+ "relatedCommands": [
219
+ "xcodebuild",
220
+ "pod",
221
+ "flutter",
222
+ "ruby"
223
+ ],
224
+ "contextEngine": {
225
+ "detectors": [
226
+ {
227
+ "name": "fastfile",
228
+ "description": "Fastlane configuration",
229
+ "command": "cat fastlane/Fastfile 2>/dev/null | grep -v '^#' | head -25",
230
+ "parser": "text",
231
+ "cacheFor": 120
232
+ },
233
+ {
234
+ "name": "lanes",
235
+ "description": "Available lanes",
236
+ "command": "fastlane lanes 2>/dev/null",
237
+ "parser": "lines",
238
+ "cacheFor": 60,
239
+ "requiresCmd": "fastlane"
240
+ }
241
+ ]
242
+ }
243
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "fd",
3
+ "description": "A simple, fast and user-friendly alternative to 'find'. While it does not aim to support all of find's powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases with a colorized output and smart case by default.",
4
+ "category": "utilities",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "fish", "powershell"],
7
+ "subcommands": [],
8
+ "globalOptions": [
9
+ { "name": "--hidden", "short": "-H", "description": "Include hidden directories and files in the search results. By default, hidden entries are skipped", "type": "boolean" },
10
+ { "name": "--no-ignore", "short": "-I", "description": "Show results that would otherwise be ignored by .gitignore, .ignore, .fdignore, or global ignore files", "type": "boolean" },
11
+ { "name": "--no-ignore-vcs", "description": "Show results that would otherwise be ignored by .gitignore files only. Other ignore files are still respected", "type": "boolean" },
12
+ { "name": "--no-ignore-parent", "description": "Do not respect ignore files from parent directories", "type": "boolean" },
13
+ { "name": "--unrestricted", "short": "-u", "description": "Perform an unrestricted search. Alias for --no-ignore --hidden. Use -uu to also show results from ignored and hidden files", "type": "boolean" },
14
+ { "name": "--case-sensitive", "short": "-s", "description": "Perform a case-sensitive search. By default, fd uses smart case (case-insensitive unless the pattern contains uppercase)", "type": "boolean" },
15
+ { "name": "--ignore-case", "short": "-i", "description": "Perform a case-insensitive search. By default, fd uses smart case matching", "type": "boolean" },
16
+ { "name": "--glob", "short": "-g", "description": "Perform a glob-based search instead of a regular expression search. If used with the -p/--full-path option, globs can match full paths with ** as separator", "type": "boolean" },
17
+ { "name": "--regex", "description": "Perform a regular-expression based search (the default). This overrides --glob if both are set", "type": "boolean" },
18
+ { "name": "--fixed-strings", "short": "-F", "description": "Treat the pattern as a literal string instead of a regular expression. Note: using --glob with this option has no effect", "type": "boolean" },
19
+ { "name": "--and", "description": "Add additional required search patterns. All --and patterns must match for a result to be returned", "type": "string" },
20
+ { "name": "--type", "short": "-t", "description": "Filter results by type: f (file), d (directory), l (symlink), x (executable), e (empty), s (socket), p (pipe), b (block-device), c (char-device). Can be specified multiple times", "type": "string" },
21
+ { "name": "--extension", "short": "-e", "description": "Filter results by file extension. Can be specified multiple times (e.g. -e js -e ts)", "type": "string" },
22
+ { "name": "--exact-depth", "description": "Only show search results at the exact given depth relative to the search path", "type": "string" },
23
+ { "name": "--min-depth", "description": "Only show search results at or below the given minimum depth relative to the search path", "type": "string" },
24
+ { "name": "--max-depth", "short": "-d", "description": "Limit the directory traversal to the given depth. Setting this to 1 only searches the immediate directory", "type": "string" },
25
+ { "name": "--prune", "description": "Do not traverse into directories that match the search pattern. If matching a directory, none of its children will be examined", "type": "boolean" },
26
+ { "name": "--exclude", "short": "-E", "description": "Exclude entries matching the given glob pattern. This overrides any other ignore logic. Can be specified multiple times", "type": "string" },
27
+ { "name": "--ignore-file", "description": "Add a custom ignore file with patterns to exclude from search results. This can be specified multiple times", "type": "string" },
28
+ { "name": "--color", "description": "Control when to use colored output. Values: never, auto (default), always", "type": "string" },
29
+ { "name": "--threads", "short": "-j", "description": "Set the number of threads to use for searching and executing commands. Default: number of available CPU cores", "type": "string" },
30
+ { "name": "--size", "short": "-S", "description": "Limit results based on file size. Accepts suffixes: b, k, m, g, t, ki, mi, gi, ti. Prefix with + for minimum, - for maximum (e.g. '+1M', '-500k')", "type": "string" },
31
+ { "name": "--changed-within", "description": "Filter results to only include entries that were changed within the given time. Accepts durations (10h, 1d, 35min) or dates (2018-10-27)", "type": "string" },
32
+ { "name": "--changed-before", "description": "Filter results to only include entries that were changed before the given time. Same format as --changed-within", "type": "string" },
33
+ { "name": "--owner", "description": "Filter by owning user and/or group. Format: user:group, user, :group, user: . On Windows, only user filtering is supported", "type": "string" },
34
+ { "name": "--list-details", "short": "-l", "description": "Use a long listing format with file metadata (permissions, owner, file size, modification time)", "type": "boolean" },
35
+ { "name": "--absolute-path", "short": "-a", "description": "Show absolute instead of relative paths. This can be useful when using fd in combination with other commands", "type": "boolean" },
36
+ { "name": "--follow", "short": "-L", "description": "Follow symbolic links. By default, fd does not follow symbolic links", "type": "boolean" },
37
+ { "name": "--full-path", "short": "-p", "description": "Match the full absolute path against the pattern rather than just the file name", "type": "boolean" },
38
+ { "name": "--print0", "short": "-0", "description": "Separate search results by the null character instead of newlines. Useful for piping results to xargs -0", "type": "boolean" },
39
+ { "name": "--max-results", "description": "Limit the number of search results and quit once that number is reached", "type": "string" },
40
+ { "name": "--one-file-system", "description": "Do not cross file system boundaries when traversing the directory tree", "type": "boolean" },
41
+ { "name": "--exec", "short": "-x", "description": "Execute a command for each search result in parallel. The following placeholders are available: {} (path), {/} (basename), {//} (parent), {.} (no ext), {/.} (basename no ext)", "type": "string" },
42
+ { "name": "--exec-batch", "short": "-X", "description": "Execute a command once with all search results as arguments. Same placeholders as --exec", "type": "string" },
43
+ { "name": "--batch-size", "description": "Maximum number of arguments to pass to the command given with -X. If more than batch-size results, the command is run multiple times", "type": "string" },
44
+ { "name": "--strip-cwd-prefix", "description": "Remove the './' prefix from paths when no search path is given and the output goes to a non-interactive terminal", "type": "boolean" },
45
+ { "name": "--base-directory", "description": "Change the current directory to the given path before searching. Reported paths are always relative to the given directory", "type": "string" },
46
+ { "name": "--path-separator", "description": "Set the path separator to use when printing file paths. The default is the OS-specific separator", "type": "string" },
47
+ { "name": "--search-path", "description": "Specify a search path to use instead of the current directory. Can be specified multiple times", "type": "string" },
48
+ { "name": "--show-errors", "description": "Enable the display of filesystem errors encountered during searching (e.g. permission denied)", "type": "boolean" },
49
+ { "name": "--quiet", "short": "-q", "description": "Print nothing, exit with code 0 if a match is found, 1 otherwise. Useful in shell scripts", "type": "boolean" },
50
+ { "name": "--max-buffer-time", "description": "Amount of time in milliseconds to buffer, before streaming search results to the console", "type": "string" },
51
+ { "name": "--gen-completions", "description": "Generate shell completions for the given shell (bash, zsh, fish, powershell, elvish)", "type": "string" }
52
+ ],
53
+ "examples": [
54
+ "fd 'pattern'",
55
+ "fd -e js -e ts",
56
+ "fd -t d 'src'",
57
+ "fd -H '.env'",
58
+ "fd '.*\\.log$' /var/log",
59
+ "fd -e py -x black {}",
60
+ "fd --changed-within 1h",
61
+ "fd -S '+1M' -t f",
62
+ "fd -g '*.json' config/",
63
+ "fd -e rs -X wc -l",
64
+ "fd -t f -e tmp -x rm {}",
65
+ "fd --owner root -t f /etc"
66
+ ],
67
+ "relatedCommands": ["find", "rg", "fzf"],
68
+ "contextEngine": {
69
+ "detectors": [
70
+ {
71
+ "name": "fd_version",
72
+ "description": "Detect fd version",
73
+ "command": "fd --version",
74
+ "parser": "lines",
75
+ "cacheFor": 300
76
+ },
77
+ {
78
+ "name": "fd_ignore_files",
79
+ "description": "Check for .fdignore in current directory",
80
+ "command": "test -f .fdignore && cat .fdignore || echo ''",
81
+ "parser": "lines",
82
+ "cacheFor": 60
83
+ }
84
+ ]
85
+ }
86
+ }
@@ -0,0 +1,298 @@
1
+ {
2
+ "name": "flutter",
3
+ "description": "Flutter 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": "--watch",
31
+ "description": "Run analysis continuously, watching the filesystem for changes."
32
+ },
33
+ {
34
+ "name": "--pub",
35
+ "description": "Whether to run \"flutter pub get\" before executing this command."
36
+ },
37
+ {
38
+ "name": "--fatal-infos",
39
+ "description": "Treat info level issues as fatal."
40
+ },
41
+ {
42
+ "name": "--fatal-warnings",
43
+ "description": "Treat warning level issues as fatal."
44
+ }
45
+ ],
46
+ "examples": [
47
+ "flutter analyze",
48
+ "flutter analyze --watch"
49
+ ]
50
+ },
51
+ {
52
+ "name": "build",
53
+ "description": "Build an executable app or install bundle.",
54
+ "args": [],
55
+ "options": [],
56
+ "examples": [
57
+ "flutter build apk",
58
+ "flutter build ios",
59
+ "flutter build web"
60
+ ]
61
+ },
62
+ {
63
+ "name": "clean",
64
+ "description": "Delete the build/ and .dart_tool/ directories.",
65
+ "args": [],
66
+ "options": [],
67
+ "examples": [
68
+ "flutter clean"
69
+ ]
70
+ },
71
+ {
72
+ "name": "create",
73
+ "description": "Create a new Flutter project.",
74
+ "args": [
75
+ {
76
+ "name": "<output directory>",
77
+ "type": "path",
78
+ "required": true,
79
+ "description": "Directory to create the project in"
80
+ }
81
+ ],
82
+ "options": [
83
+ {
84
+ "name": "--template",
85
+ "short": "-t",
86
+ "description": "Specify the type of project to create [app|module|package|plugin|skeleton].",
87
+ "type": "string"
88
+ },
89
+ {
90
+ "name": "--org",
91
+ "description": "The organization responsible for your new Flutter project, in reverse domain name notation.",
92
+ "type": "string"
93
+ },
94
+ {
95
+ "name": "--project-name",
96
+ "description": "The project name for this new Flutter project.",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "--ios-language",
101
+ "short": "-i",
102
+ "description": "Language to use for iOS-specific code [objc|swift].",
103
+ "type": "string"
104
+ },
105
+ {
106
+ "name": "--android-language",
107
+ "short": "-a",
108
+ "description": "Language to use for Android-specific code [java|kotlin].",
109
+ "type": "string"
110
+ }
111
+ ],
112
+ "examples": [
113
+ "flutter create my_app",
114
+ "flutter create --org com.example my_app",
115
+ "flutter create -t plugin my_plugin"
116
+ ]
117
+ },
118
+ {
119
+ "name": "doctor",
120
+ "description": "Show information about the installed tooling.",
121
+ "args": [],
122
+ "options": [
123
+ {
124
+ "name": "--android-licenses",
125
+ "description": "Run the Android SDK manager tool to accept the SDK's licenses."
126
+ },
127
+ {
128
+ "name": "--verbose",
129
+ "short": "-v",
130
+ "description": "Diagnostic output."
131
+ }
132
+ ],
133
+ "examples": [
134
+ "flutter doctor",
135
+ "flutter doctor -v",
136
+ "flutter doctor --android-licenses"
137
+ ]
138
+ },
139
+ {
140
+ "name": "pub",
141
+ "description": "Commands for managing Flutter packages.",
142
+ "args": [],
143
+ "options": [],
144
+ "examples": [
145
+ "flutter pub get",
146
+ "flutter pub upgrade",
147
+ "flutter pub add dev_dependencies"
148
+ ]
149
+ },
150
+ {
151
+ "name": "run",
152
+ "description": "Run your Flutter app on an attached device.",
153
+ "args": [
154
+ {
155
+ "name": "[file]",
156
+ "type": "path",
157
+ "required": false,
158
+ "description": "The main entry-point file"
159
+ }
160
+ ],
161
+ "options": [
162
+ {
163
+ "name": "--debug",
164
+ "description": "Build a debug version of your app (default)."
165
+ },
166
+ {
167
+ "name": "--profile",
168
+ "description": "Build a version of your app specialized for performance profiling."
169
+ },
170
+ {
171
+ "name": "--release",
172
+ "description": "Build a release version of your app."
173
+ },
174
+ {
175
+ "name": "--flavor",
176
+ "description": "Build a custom app flavor as defined by platform-specific build setup.",
177
+ "type": "string"
178
+ },
179
+ {
180
+ "name": "--route",
181
+ "description": "Which route to load when running the app.",
182
+ "type": "string"
183
+ },
184
+ {
185
+ "name": "--target",
186
+ "short": "-t",
187
+ "description": "The main entry-point file of the application.",
188
+ "type": "path"
189
+ },
190
+ {
191
+ "name": "--device-id",
192
+ "short": "-d",
193
+ "description": "Target device id or name (prefixes allowed).",
194
+ "type": "string"
195
+ },
196
+ {
197
+ "name": "--all",
198
+ "short": "-d all",
199
+ "description": "Run on all attached devices"
200
+ }
201
+ ],
202
+ "examples": [
203
+ "flutter run",
204
+ "flutter run -d chrome",
205
+ "flutter run --release"
206
+ ]
207
+ },
208
+ {
209
+ "name": "test",
210
+ "description": "Run Flutter unit tests for the current project.",
211
+ "args": [
212
+ {
213
+ "name": "[files or directories...]",
214
+ "type": "path",
215
+ "required": false,
216
+ "description": "Specific tests to run"
217
+ }
218
+ ],
219
+ "options": [
220
+ {
221
+ "name": "--name",
222
+ "description": "A regular expression matching substrings of the names of tests to run.",
223
+ "type": "string"
224
+ },
225
+ {
226
+ "name": "--plain-name",
227
+ "description": "A plain text string matching substrings of the names of tests to run.",
228
+ "type": "string"
229
+ },
230
+ {
231
+ "name": "--update-goldens",
232
+ "description": "Whether matchesGoldenFile() calls within your test methods should update the golden files."
233
+ },
234
+ {
235
+ "name": "--coverage",
236
+ "description": "Whether to collect coverage information."
237
+ }
238
+ ],
239
+ "examples": [
240
+ "flutter test",
241
+ "flutter test test/widget_test.rb",
242
+ "flutter test --coverage"
243
+ ]
244
+ }
245
+ ],
246
+ "globalOptions": [
247
+ {
248
+ "name": "--verbose",
249
+ "short": "-v",
250
+ "description": "Noisy logging, including all shell commands executed."
251
+ },
252
+ {
253
+ "name": "--device-id",
254
+ "short": "-d",
255
+ "description": "Target device id or name.",
256
+ "type": "string"
257
+ },
258
+ {
259
+ "name": "--version",
260
+ "description": "Reports the version of this tool."
261
+ },
262
+ {
263
+ "name": "--help",
264
+ "short": "-h",
265
+ "description": "Print this usage information."
266
+ }
267
+ ],
268
+ "examples": [
269
+ "flutter doctor",
270
+ "flutter create app_name",
271
+ "flutter run",
272
+ "flutter build apk"
273
+ ],
274
+ "relatedCommands": [
275
+ "dart",
276
+ "adb",
277
+ "pod"
278
+ ],
279
+ "contextEngine": {
280
+ "detectors": [
281
+ {
282
+ "name": "pubspec",
283
+ "description": "Flutter Pubspec Config",
284
+ "command": "cat pubspec.yaml 2>/dev/null | head -20",
285
+ "parser": "text",
286
+ "cacheFor": 120
287
+ },
288
+ {
289
+ "name": "devices",
290
+ "description": "Attached Devices",
291
+ "command": "flutter devices --machine 2>/dev/null",
292
+ "parser": "json",
293
+ "cacheFor": 30,
294
+ "requiresCmd": "flutter"
295
+ }
296
+ ]
297
+ }
298
+ }