this repo has no description
1#compdef turbo
2
3autoload -U is-at-least
4
5_turbo() {
6 typeset -A opt_args
7 typeset -a _arguments_options
8 local ret=1
9
10 if is-at-least 5.2; then
11 _arguments_options=(-s -S -C)
12 else
13 _arguments_options=(-s -C)
14 fi
15
16 local context curcontext="$curcontext" state line
17 _arguments "${_arguments_options[@]}" : \
18'--api=[Override the endpoint for API calls]:API: ' \
19'--cwd=[The directory in which to run turbo]:CWD: ' \
20'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
21'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
22stream\:"Use the standard output stream"
23web\:"Use the web user interface (experimental)"))' \
24'--login=[Override the login endpoint]:LOGIN: ' \
25'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
26'--team=[Set the team slug for API calls]:TEAM: ' \
27'--token=[Set the auth token for API calls]:TOKEN: ' \
28'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
29'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
30'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
31'(--force --remote-only --remote-cache-read-only --no-cache)--cache=[Set the cache behavior for this run. Pass a list of comma-separated key, value pairs to enable reading and writing to either the local or remote cache]:CACHE: ' \
32'--force=[Ignore the existing cache (to force execution). Equivalent to \`--cache=local\:w,remote\:w\`]' \
33'--remote-only=[Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache. Equivalent to \`--cache=remote\:rw\`]' \
34'--remote-cache-read-only=[Treat remote cache as read only. Equivalent to \`--cache=remote\:r;local\:rw\`]' \
35'--cache-workers=[Set the number of concurrent cache operations (default 10)]:CACHE_WORKERS: ' \
36'--dry-run=[]' \
37'--graph=[Generate a graph of the task execution and output to a file when a filename is specified (.svg, .png, .jpg, .pdf, .json, .html, .mermaid, .dot). Outputs dot graph to stdout when if no filename is provided]' \
38'(--anon-profile)--profile=[File to write turbo'\''s performance profile output into. You can load the file up in chrome\://tracing to see which parts of your build were slow]:PROFILE: ' \
39'(--profile)--anon-profile=[File to write turbo'\''s performance profile output into. All identifying data omitted from the profile]:ANON_PROFILE: ' \
40'--summarize=[Generate a summary of the turbo run]' \
41'--cache-dir=[Override the filesystem cache directory]:CACHE_DIR: ' \
42'--concurrency=[Limit the concurrency of task execution. Use 1 for serial (i.e. one-at-a-time) execution]:CONCURRENCY: ' \
43'--continue=[Specify how task execution should proceed when an error occurs. Use "never" to cancel all tasks. Use "dependencies-successful" to continue running tasks whose dependencies have succeeded. Use "always" to continue running all tasks, even those whose dependencies have failed]' \
44'--framework-inference=[Specify whether or not to do framework inference for tasks]' \
45'*--global-deps=[Specify glob of global filesystem dependencies to be hashed. Useful for .env and files]:GLOBAL_DEPS: ' \
46'--env-mode=[Environment variable mode. Use "loose" to pass the entire existing environment. Use "strict" to use an allowlist specified in turbo.json]' \
47'*-F+[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
48'*--filter=[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
49'--output-logs=[Set type of process output logging. Use "full" to show all output. Use "hash-only" to show only turbo-computed task hashes. Use "new-only" to show only new output with only hashes for cached tasks. Use "none" to hide process output. (default full)]:OUTPUT_LOGS:(full none hash-only new-only errors-only)' \
50'--log-order=[Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto)]:LOG_ORDER:(auto stream grouped)' \
51'--pkg-inference-root=[]:PKG_INFERENCE_ROOT: ' \
52'--log-prefix=[Use "none" to remove prefixes from task logs. Use "task" to get task id prefixing. Use "auto" to let turbo decide how to prefix the logs based on the execution environment. In most cases this will be the same as "task". Note that tasks running in parallel interleave their logs, so removing prefixes can make it difficult to associate logs with tasks. Use --log-order=grouped to prevent interleaving. (default auto)]:LOG_PREFIX:(auto none task)' \
53'--version[]' \
54'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
55'--no-update-notifier[Disable the turbo update notification]' \
56'--color[Force color usage in the terminal]' \
57'--no-color[Suppress color usage in the terminal]' \
58'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
59'(--verbosity)*-v[]' \
60'--check-for-update[Force a check for a new version of turbo]' \
61'--__test-run[]' \
62'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
63'--experimental-allow-no-turbo-json[]' \
64'--no-cache[Avoid saving task results to the cache. Useful for development/watch tasks. Equivalent to \`--cache=local\:r,remote\:r\`]' \
65'--daemon[Force turbo to use the local daemon. If unset turbo will use the default detection logic]' \
66'--no-daemon[Force turbo to not use the local daemon. If unset turbo will use the default detection logic]' \
67'--parallel[Execute all tasks in parallel]' \
68'--single-package[Run turbo in single-package mode]' \
69'(-F --filter)--affected[Filter to only packages that are affected by changes between the current branch and \`main\`]' \
70'--only[Only executes the tasks specified, does not execute parent tasks]' \
71'-h[Print help (see more with '\''--help'\'')]' \
72'--help[Print help (see more with '\''--help'\'')]' \
73'::tasks:' \
74'::pass_through_args:' \
75":: :_turbo_commands" \
76"*::: :->turbo" \
77&& ret=0
78 case $state in
79 (turbo)
80 words=($line[3] "${words[@]}")
81 (( CURRENT += 1 ))
82 curcontext="${curcontext%:*:*}:turbo-command-$line[3]:"
83 case $line[3] in
84 (bin)
85_arguments "${_arguments_options[@]}" : \
86'--api=[Override the endpoint for API calls]:API: ' \
87'--cwd=[The directory in which to run turbo]:CWD: ' \
88'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
89'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
90stream\:"Use the standard output stream"
91web\:"Use the web user interface (experimental)"))' \
92'--login=[Override the login endpoint]:LOGIN: ' \
93'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
94'--team=[Set the team slug for API calls]:TEAM: ' \
95'--token=[Set the auth token for API calls]:TOKEN: ' \
96'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
97'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
98'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
99'--version[]' \
100'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
101'--no-update-notifier[Disable the turbo update notification]' \
102'--color[Force color usage in the terminal]' \
103'--no-color[Suppress color usage in the terminal]' \
104'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
105'(--verbosity)*-v[]' \
106'--check-for-update[Force a check for a new version of turbo]' \
107'--__test-run[]' \
108'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
109'--experimental-allow-no-turbo-json[]' \
110'-h[Print help (see more with '\''--help'\'')]' \
111'--help[Print help (see more with '\''--help'\'')]' \
112&& ret=0
113;;
114(boundaries)
115_arguments "${_arguments_options[@]}" : \
116'*-F+[]:FILTER: ' \
117'*--filter=[]:FILTER: ' \
118'--ignore=[]' \
119'--reason=[]:REASON: ' \
120'--api=[Override the endpoint for API calls]:API: ' \
121'--cwd=[The directory in which to run turbo]:CWD: ' \
122'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
123'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
124stream\:"Use the standard output stream"
125web\:"Use the web user interface (experimental)"))' \
126'--login=[Override the login endpoint]:LOGIN: ' \
127'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
128'--team=[Set the team slug for API calls]:TEAM: ' \
129'--token=[Set the auth token for API calls]:TOKEN: ' \
130'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
131'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
132'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
133'--version[]' \
134'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
135'--no-update-notifier[Disable the turbo update notification]' \
136'--color[Force color usage in the terminal]' \
137'--no-color[Suppress color usage in the terminal]' \
138'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
139'(--verbosity)*-v[]' \
140'--check-for-update[Force a check for a new version of turbo]' \
141'--__test-run[]' \
142'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
143'--experimental-allow-no-turbo-json[]' \
144'-h[Print help (see more with '\''--help'\'')]' \
145'--help[Print help (see more with '\''--help'\'')]' \
146&& ret=0
147;;
148(clone)
149_arguments "${_arguments_options[@]}" : \
150'--depth=[]:DEPTH: ' \
151'--api=[Override the endpoint for API calls]:API: ' \
152'--cwd=[The directory in which to run turbo]:CWD: ' \
153'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
154'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
155stream\:"Use the standard output stream"
156web\:"Use the web user interface (experimental)"))' \
157'--login=[Override the login endpoint]:LOGIN: ' \
158'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
159'--team=[Set the team slug for API calls]:TEAM: ' \
160'--token=[Set the auth token for API calls]:TOKEN: ' \
161'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
162'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
163'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
164'(--local)--ci[]' \
165'(--ci)--local[]' \
166'--version[]' \
167'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
168'--no-update-notifier[Disable the turbo update notification]' \
169'--color[Force color usage in the terminal]' \
170'--no-color[Suppress color usage in the terminal]' \
171'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
172'(--verbosity)*-v[]' \
173'--check-for-update[Force a check for a new version of turbo]' \
174'--__test-run[]' \
175'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
176'--experimental-allow-no-turbo-json[]' \
177'-h[Print help (see more with '\''--help'\'')]' \
178'--help[Print help (see more with '\''--help'\'')]' \
179':url:' \
180'::dir:' \
181&& ret=0
182;;
183(completion)
184_arguments "${_arguments_options[@]}" : \
185'--api=[Override the endpoint for API calls]:API: ' \
186'--cwd=[The directory in which to run turbo]:CWD: ' \
187'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
188'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
189stream\:"Use the standard output stream"
190web\:"Use the web user interface (experimental)"))' \
191'--login=[Override the login endpoint]:LOGIN: ' \
192'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
193'--team=[Set the team slug for API calls]:TEAM: ' \
194'--token=[Set the auth token for API calls]:TOKEN: ' \
195'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
196'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
197'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
198'--version[]' \
199'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
200'--no-update-notifier[Disable the turbo update notification]' \
201'--color[Force color usage in the terminal]' \
202'--no-color[Suppress color usage in the terminal]' \
203'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
204'(--verbosity)*-v[]' \
205'--check-for-update[Force a check for a new version of turbo]' \
206'--__test-run[]' \
207'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
208'--experimental-allow-no-turbo-json[]' \
209'-h[Print help (see more with '\''--help'\'')]' \
210'--help[Print help (see more with '\''--help'\'')]' \
211':shell:(bash elvish fish powershell zsh)' \
212&& ret=0
213;;
214(daemon)
215_arguments "${_arguments_options[@]}" : \
216'--idle-time=[Set the idle timeout for turbod]:IDLE_TIME: ' \
217'--api=[Override the endpoint for API calls]:API: ' \
218'--cwd=[The directory in which to run turbo]:CWD: ' \
219'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
220'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
221stream\:"Use the standard output stream"
222web\:"Use the web user interface (experimental)"))' \
223'--login=[Override the login endpoint]:LOGIN: ' \
224'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
225'--team=[Set the team slug for API calls]:TEAM: ' \
226'--token=[Set the auth token for API calls]:TOKEN: ' \
227'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
228'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
229'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
230'--version[]' \
231'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
232'--no-update-notifier[Disable the turbo update notification]' \
233'--color[Force color usage in the terminal]' \
234'--no-color[Suppress color usage in the terminal]' \
235'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
236'(--verbosity)*-v[]' \
237'--check-for-update[Force a check for a new version of turbo]' \
238'--__test-run[]' \
239'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
240'--experimental-allow-no-turbo-json[]' \
241'-h[Print help (see more with '\''--help'\'')]' \
242'--help[Print help (see more with '\''--help'\'')]' \
243":: :_turbo__daemon_commands" \
244"*::: :->daemon" \
245&& ret=0
246
247 case $state in
248 (daemon)
249 words=($line[1] "${words[@]}")
250 (( CURRENT += 1 ))
251 curcontext="${curcontext%:*:*}:turbo-daemon-command-$line[1]:"
252 case $line[1] in
253 (restart)
254_arguments "${_arguments_options[@]}" : \
255'--api=[Override the endpoint for API calls]:API: ' \
256'--cwd=[The directory in which to run turbo]:CWD: ' \
257'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
258'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
259stream\:"Use the standard output stream"
260web\:"Use the web user interface (experimental)"))' \
261'--login=[Override the login endpoint]:LOGIN: ' \
262'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
263'--team=[Set the team slug for API calls]:TEAM: ' \
264'--token=[Set the auth token for API calls]:TOKEN: ' \
265'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
266'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
267'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
268'--version[]' \
269'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
270'--no-update-notifier[Disable the turbo update notification]' \
271'--color[Force color usage in the terminal]' \
272'--no-color[Suppress color usage in the terminal]' \
273'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
274'(--verbosity)*-v[]' \
275'--check-for-update[Force a check for a new version of turbo]' \
276'--__test-run[]' \
277'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
278'--experimental-allow-no-turbo-json[]' \
279'-h[Print help (see more with '\''--help'\'')]' \
280'--help[Print help (see more with '\''--help'\'')]' \
281&& ret=0
282;;
283(start)
284_arguments "${_arguments_options[@]}" : \
285'--api=[Override the endpoint for API calls]:API: ' \
286'--cwd=[The directory in which to run turbo]:CWD: ' \
287'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
288'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
289stream\:"Use the standard output stream"
290web\:"Use the web user interface (experimental)"))' \
291'--login=[Override the login endpoint]:LOGIN: ' \
292'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
293'--team=[Set the team slug for API calls]:TEAM: ' \
294'--token=[Set the auth token for API calls]:TOKEN: ' \
295'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
296'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
297'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
298'--version[]' \
299'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
300'--no-update-notifier[Disable the turbo update notification]' \
301'--color[Force color usage in the terminal]' \
302'--no-color[Suppress color usage in the terminal]' \
303'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
304'(--verbosity)*-v[]' \
305'--check-for-update[Force a check for a new version of turbo]' \
306'--__test-run[]' \
307'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
308'--experimental-allow-no-turbo-json[]' \
309'-h[Print help (see more with '\''--help'\'')]' \
310'--help[Print help (see more with '\''--help'\'')]' \
311&& ret=0
312;;
313(status)
314_arguments "${_arguments_options[@]}" : \
315'--api=[Override the endpoint for API calls]:API: ' \
316'--cwd=[The directory in which to run turbo]:CWD: ' \
317'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
318'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
319stream\:"Use the standard output stream"
320web\:"Use the web user interface (experimental)"))' \
321'--login=[Override the login endpoint]:LOGIN: ' \
322'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
323'--team=[Set the team slug for API calls]:TEAM: ' \
324'--token=[Set the auth token for API calls]:TOKEN: ' \
325'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
326'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
327'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
328'--json[Pass --json to report status in JSON format]' \
329'--version[]' \
330'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
331'--no-update-notifier[Disable the turbo update notification]' \
332'--color[Force color usage in the terminal]' \
333'--no-color[Suppress color usage in the terminal]' \
334'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
335'(--verbosity)*-v[]' \
336'--check-for-update[Force a check for a new version of turbo]' \
337'--__test-run[]' \
338'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
339'--experimental-allow-no-turbo-json[]' \
340'-h[Print help (see more with '\''--help'\'')]' \
341'--help[Print help (see more with '\''--help'\'')]' \
342&& ret=0
343;;
344(stop)
345_arguments "${_arguments_options[@]}" : \
346'--api=[Override the endpoint for API calls]:API: ' \
347'--cwd=[The directory in which to run turbo]:CWD: ' \
348'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
349'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
350stream\:"Use the standard output stream"
351web\:"Use the web user interface (experimental)"))' \
352'--login=[Override the login endpoint]:LOGIN: ' \
353'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
354'--team=[Set the team slug for API calls]:TEAM: ' \
355'--token=[Set the auth token for API calls]:TOKEN: ' \
356'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
357'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
358'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
359'--version[]' \
360'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
361'--no-update-notifier[Disable the turbo update notification]' \
362'--color[Force color usage in the terminal]' \
363'--no-color[Suppress color usage in the terminal]' \
364'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
365'(--verbosity)*-v[]' \
366'--check-for-update[Force a check for a new version of turbo]' \
367'--__test-run[]' \
368'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
369'--experimental-allow-no-turbo-json[]' \
370'-h[Print help (see more with '\''--help'\'')]' \
371'--help[Print help (see more with '\''--help'\'')]' \
372&& ret=0
373;;
374(clean)
375_arguments "${_arguments_options[@]}" : \
376'--api=[Override the endpoint for API calls]:API: ' \
377'--cwd=[The directory in which to run turbo]:CWD: ' \
378'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
379'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
380stream\:"Use the standard output stream"
381web\:"Use the web user interface (experimental)"))' \
382'--login=[Override the login endpoint]:LOGIN: ' \
383'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
384'--team=[Set the team slug for API calls]:TEAM: ' \
385'--token=[Set the auth token for API calls]:TOKEN: ' \
386'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
387'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
388'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
389'--clean-logs[Clean]' \
390'--version[]' \
391'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
392'--no-update-notifier[Disable the turbo update notification]' \
393'--color[Force color usage in the terminal]' \
394'--no-color[Suppress color usage in the terminal]' \
395'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
396'(--verbosity)*-v[]' \
397'--check-for-update[Force a check for a new version of turbo]' \
398'--__test-run[]' \
399'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
400'--experimental-allow-no-turbo-json[]' \
401'-h[Print help (see more with '\''--help'\'')]' \
402'--help[Print help (see more with '\''--help'\'')]' \
403&& ret=0
404;;
405(logs)
406_arguments "${_arguments_options[@]}" : \
407'--api=[Override the endpoint for API calls]:API: ' \
408'--cwd=[The directory in which to run turbo]:CWD: ' \
409'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
410'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
411stream\:"Use the standard output stream"
412web\:"Use the web user interface (experimental)"))' \
413'--login=[Override the login endpoint]:LOGIN: ' \
414'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
415'--team=[Set the team slug for API calls]:TEAM: ' \
416'--token=[Set the auth token for API calls]:TOKEN: ' \
417'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
418'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
419'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
420'--version[]' \
421'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
422'--no-update-notifier[Disable the turbo update notification]' \
423'--color[Force color usage in the terminal]' \
424'--no-color[Suppress color usage in the terminal]' \
425'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
426'(--verbosity)*-v[]' \
427'--check-for-update[Force a check for a new version of turbo]' \
428'--__test-run[]' \
429'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
430'--experimental-allow-no-turbo-json[]' \
431'-h[Print help (see more with '\''--help'\'')]' \
432'--help[Print help (see more with '\''--help'\'')]' \
433&& ret=0
434;;
435 esac
436 ;;
437esac
438;;
439(generate)
440_arguments "${_arguments_options[@]}" : \
441'--tag=[]:TAG: ' \
442'-c+[Generator configuration file]:CONFIG: ' \
443'--config=[Generator configuration file]:CONFIG: ' \
444'-r+[The root of your repository (default\: directory with root turbo.json)]:ROOT: ' \
445'--root=[The root of your repository (default\: directory with root turbo.json)]:ROOT: ' \
446'*-a+[Answers passed directly to generator]:ARGS: ' \
447'*--args=[Answers passed directly to generator]:ARGS: ' \
448'--api=[Override the endpoint for API calls]:API: ' \
449'--cwd=[The directory in which to run turbo]:CWD: ' \
450'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
451'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
452stream\:"Use the standard output stream"
453web\:"Use the web user interface (experimental)"))' \
454'--login=[Override the login endpoint]:LOGIN: ' \
455'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
456'--team=[Set the team slug for API calls]:TEAM: ' \
457'--token=[Set the auth token for API calls]:TOKEN: ' \
458'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
459'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
460'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
461'--version[]' \
462'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
463'--no-update-notifier[Disable the turbo update notification]' \
464'--color[Force color usage in the terminal]' \
465'--no-color[Suppress color usage in the terminal]' \
466'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
467'(--verbosity)*-v[]' \
468'--check-for-update[Force a check for a new version of turbo]' \
469'--__test-run[]' \
470'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
471'--experimental-allow-no-turbo-json[]' \
472'-h[Print help (see more with '\''--help'\'')]' \
473'--help[Print help (see more with '\''--help'\'')]' \
474'::generator_name -- The name of the generator to run:' \
475":: :_turbo__generate_commands" \
476"*::: :->generate" \
477&& ret=0
478
479 case $state in
480 (generate)
481 words=($line[2] "${words[@]}")
482 (( CURRENT += 1 ))
483 curcontext="${curcontext%:*:*}:turbo-generate-command-$line[2]:"
484 case $line[2] in
485 (workspace)
486_arguments "${_arguments_options[@]}" : \
487'-n+[Name for the new workspace]:NAME: ' \
488'--name=[Name for the new workspace]:NAME: ' \
489'(-b --empty)-c+[Generate a workspace using an existing workspace as a template. Can be the name of a local workspace within your monorepo, or a fully qualified GitHub URL with any branch and/or subdirectory]' \
490'(-b --empty)--copy=[Generate a workspace using an existing workspace as a template. Can be the name of a local workspace within your monorepo, or a fully qualified GitHub URL with any branch and/or subdirectory]' \
491'-d+[Where the new workspace should be created]:DESTINATION: ' \
492'--destination=[Where the new workspace should be created]:DESTINATION: ' \
493'-t+[The type of workspace to create]:TYPE: ' \
494'--type=[The type of workspace to create]:TYPE: ' \
495'-r+[The root of your repository (default\: directory with root turbo.json)]:ROOT: ' \
496'--root=[The root of your repository (default\: directory with root turbo.json)]:ROOT: ' \
497'-p+[In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately\: --example-path foo/bar]:EXAMPLE_PATH: ' \
498'--example-path=[In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately\: --example-path foo/bar]:EXAMPLE_PATH: ' \
499'--api=[Override the endpoint for API calls]:API: ' \
500'--cwd=[The directory in which to run turbo]:CWD: ' \
501'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
502'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
503stream\:"Use the standard output stream"
504web\:"Use the web user interface (experimental)"))' \
505'--login=[Override the login endpoint]:LOGIN: ' \
506'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
507'--team=[Set the team slug for API calls]:TEAM: ' \
508'--token=[Set the auth token for API calls]:TOKEN: ' \
509'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
510'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
511'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
512'(-c --copy)-b[Generate an empty workspace]' \
513'(-c --copy)--empty[Generate an empty workspace]' \
514'--show-all-dependencies[Do not filter available dependencies by the workspace type]' \
515'--version[]' \
516'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
517'--no-update-notifier[Disable the turbo update notification]' \
518'--color[Force color usage in the terminal]' \
519'--no-color[Suppress color usage in the terminal]' \
520'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
521'(--verbosity)*-v[]' \
522'--check-for-update[Force a check for a new version of turbo]' \
523'--__test-run[]' \
524'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
525'--experimental-allow-no-turbo-json[]' \
526'-h[Print help (see more with '\''--help'\'')]' \
527'--help[Print help (see more with '\''--help'\'')]' \
528&& ret=0
529;;
530(run)
531_arguments "${_arguments_options[@]}" : \
532'-c+[Generator configuration file]:CONFIG: ' \
533'--config=[Generator configuration file]:CONFIG: ' \
534'-r+[The root of your repository (default\: directory with root turbo.json)]:ROOT: ' \
535'--root=[The root of your repository (default\: directory with root turbo.json)]:ROOT: ' \
536'*-a+[Answers passed directly to generator]:ARGS: ' \
537'*--args=[Answers passed directly to generator]:ARGS: ' \
538'--api=[Override the endpoint for API calls]:API: ' \
539'--cwd=[The directory in which to run turbo]:CWD: ' \
540'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
541'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
542stream\:"Use the standard output stream"
543web\:"Use the web user interface (experimental)"))' \
544'--login=[Override the login endpoint]:LOGIN: ' \
545'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
546'--team=[Set the team slug for API calls]:TEAM: ' \
547'--token=[Set the auth token for API calls]:TOKEN: ' \
548'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
549'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
550'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
551'--version[]' \
552'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
553'--no-update-notifier[Disable the turbo update notification]' \
554'--color[Force color usage in the terminal]' \
555'--no-color[Suppress color usage in the terminal]' \
556'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
557'(--verbosity)*-v[]' \
558'--check-for-update[Force a check for a new version of turbo]' \
559'--__test-run[]' \
560'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
561'--experimental-allow-no-turbo-json[]' \
562'-h[Print help (see more with '\''--help'\'')]' \
563'--help[Print help (see more with '\''--help'\'')]' \
564'::generator_name -- The name of the generator to run:' \
565&& ret=0
566;;
567 esac
568 ;;
569esac
570;;
571(telemetry)
572_arguments "${_arguments_options[@]}" : \
573'--api=[Override the endpoint for API calls]:API: ' \
574'--cwd=[The directory in which to run turbo]:CWD: ' \
575'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
576'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
577stream\:"Use the standard output stream"
578web\:"Use the web user interface (experimental)"))' \
579'--login=[Override the login endpoint]:LOGIN: ' \
580'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
581'--team=[Set the team slug for API calls]:TEAM: ' \
582'--token=[Set the auth token for API calls]:TOKEN: ' \
583'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
584'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
585'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
586'--version[]' \
587'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
588'--no-update-notifier[Disable the turbo update notification]' \
589'--color[Force color usage in the terminal]' \
590'--no-color[Suppress color usage in the terminal]' \
591'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
592'(--verbosity)*-v[]' \
593'--check-for-update[Force a check for a new version of turbo]' \
594'--__test-run[]' \
595'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
596'--experimental-allow-no-turbo-json[]' \
597'-h[Print help (see more with '\''--help'\'')]' \
598'--help[Print help (see more with '\''--help'\'')]' \
599":: :_turbo__telemetry_commands" \
600"*::: :->telemetry" \
601&& ret=0
602
603 case $state in
604 (telemetry)
605 words=($line[1] "${words[@]}")
606 (( CURRENT += 1 ))
607 curcontext="${curcontext%:*:*}:turbo-telemetry-command-$line[1]:"
608 case $line[1] in
609 (enable)
610_arguments "${_arguments_options[@]}" : \
611'--api=[Override the endpoint for API calls]:API: ' \
612'--cwd=[The directory in which to run turbo]:CWD: ' \
613'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
614'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
615stream\:"Use the standard output stream"
616web\:"Use the web user interface (experimental)"))' \
617'--login=[Override the login endpoint]:LOGIN: ' \
618'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
619'--team=[Set the team slug for API calls]:TEAM: ' \
620'--token=[Set the auth token for API calls]:TOKEN: ' \
621'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
622'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
623'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
624'--version[]' \
625'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
626'--no-update-notifier[Disable the turbo update notification]' \
627'--color[Force color usage in the terminal]' \
628'--no-color[Suppress color usage in the terminal]' \
629'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
630'(--verbosity)*-v[]' \
631'--check-for-update[Force a check for a new version of turbo]' \
632'--__test-run[]' \
633'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
634'--experimental-allow-no-turbo-json[]' \
635'-h[Print help (see more with '\''--help'\'')]' \
636'--help[Print help (see more with '\''--help'\'')]' \
637&& ret=0
638;;
639(disable)
640_arguments "${_arguments_options[@]}" : \
641'--api=[Override the endpoint for API calls]:API: ' \
642'--cwd=[The directory in which to run turbo]:CWD: ' \
643'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
644'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
645stream\:"Use the standard output stream"
646web\:"Use the web user interface (experimental)"))' \
647'--login=[Override the login endpoint]:LOGIN: ' \
648'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
649'--team=[Set the team slug for API calls]:TEAM: ' \
650'--token=[Set the auth token for API calls]:TOKEN: ' \
651'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
652'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
653'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
654'--version[]' \
655'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
656'--no-update-notifier[Disable the turbo update notification]' \
657'--color[Force color usage in the terminal]' \
658'--no-color[Suppress color usage in the terminal]' \
659'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
660'(--verbosity)*-v[]' \
661'--check-for-update[Force a check for a new version of turbo]' \
662'--__test-run[]' \
663'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
664'--experimental-allow-no-turbo-json[]' \
665'-h[Print help (see more with '\''--help'\'')]' \
666'--help[Print help (see more with '\''--help'\'')]' \
667&& ret=0
668;;
669(status)
670_arguments "${_arguments_options[@]}" : \
671'--api=[Override the endpoint for API calls]:API: ' \
672'--cwd=[The directory in which to run turbo]:CWD: ' \
673'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
674'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
675stream\:"Use the standard output stream"
676web\:"Use the web user interface (experimental)"))' \
677'--login=[Override the login endpoint]:LOGIN: ' \
678'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
679'--team=[Set the team slug for API calls]:TEAM: ' \
680'--token=[Set the auth token for API calls]:TOKEN: ' \
681'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
682'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
683'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
684'--version[]' \
685'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
686'--no-update-notifier[Disable the turbo update notification]' \
687'--color[Force color usage in the terminal]' \
688'--no-color[Suppress color usage in the terminal]' \
689'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
690'(--verbosity)*-v[]' \
691'--check-for-update[Force a check for a new version of turbo]' \
692'--__test-run[]' \
693'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
694'--experimental-allow-no-turbo-json[]' \
695'-h[Print help (see more with '\''--help'\'')]' \
696'--help[Print help (see more with '\''--help'\'')]' \
697&& ret=0
698;;
699 esac
700 ;;
701esac
702;;
703(scan)
704_arguments "${_arguments_options[@]}" : \
705'--api=[Override the endpoint for API calls]:API: ' \
706'--cwd=[The directory in which to run turbo]:CWD: ' \
707'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
708'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
709stream\:"Use the standard output stream"
710web\:"Use the web user interface (experimental)"))' \
711'--login=[Override the login endpoint]:LOGIN: ' \
712'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
713'--team=[Set the team slug for API calls]:TEAM: ' \
714'--token=[Set the auth token for API calls]:TOKEN: ' \
715'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
716'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
717'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
718'--version[]' \
719'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
720'--no-update-notifier[Disable the turbo update notification]' \
721'--color[Force color usage in the terminal]' \
722'--no-color[Suppress color usage in the terminal]' \
723'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
724'(--verbosity)*-v[]' \
725'--check-for-update[Force a check for a new version of turbo]' \
726'--__test-run[]' \
727'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
728'--experimental-allow-no-turbo-json[]' \
729'-h[Print help (see more with '\''--help'\'')]' \
730'--help[Print help (see more with '\''--help'\'')]' \
731&& ret=0
732;;
733(config)
734_arguments "${_arguments_options[@]}" : \
735'--api=[Override the endpoint for API calls]:API: ' \
736'--cwd=[The directory in which to run turbo]:CWD: ' \
737'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
738'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
739stream\:"Use the standard output stream"
740web\:"Use the web user interface (experimental)"))' \
741'--login=[Override the login endpoint]:LOGIN: ' \
742'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
743'--team=[Set the team slug for API calls]:TEAM: ' \
744'--token=[Set the auth token for API calls]:TOKEN: ' \
745'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
746'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
747'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
748'--version[]' \
749'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
750'--no-update-notifier[Disable the turbo update notification]' \
751'--color[Force color usage in the terminal]' \
752'--no-color[Suppress color usage in the terminal]' \
753'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
754'(--verbosity)*-v[]' \
755'--check-for-update[Force a check for a new version of turbo]' \
756'--__test-run[]' \
757'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
758'--experimental-allow-no-turbo-json[]' \
759'-h[Print help (see more with '\''--help'\'')]' \
760'--help[Print help (see more with '\''--help'\'')]' \
761&& ret=0
762;;
763(ls)
764_arguments "${_arguments_options[@]}" : \
765'*-F+[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
766'*--filter=[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
767'--output=[Output format]:OUTPUT:((pretty\:"Output in a human-readable format"
768json\:"Output in JSON format for direct parsing"))' \
769'--api=[Override the endpoint for API calls]:API: ' \
770'--cwd=[The directory in which to run turbo]:CWD: ' \
771'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
772'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
773stream\:"Use the standard output stream"
774web\:"Use the web user interface (experimental)"))' \
775'--login=[Override the login endpoint]:LOGIN: ' \
776'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
777'--team=[Set the team slug for API calls]:TEAM: ' \
778'--token=[Set the auth token for API calls]:TOKEN: ' \
779'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
780'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
781'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
782'--affected[Show only packages that are affected by changes between the current branch and \`main\`]' \
783'--version[]' \
784'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
785'--no-update-notifier[Disable the turbo update notification]' \
786'--color[Force color usage in the terminal]' \
787'--no-color[Suppress color usage in the terminal]' \
788'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
789'(--verbosity)*-v[]' \
790'--check-for-update[Force a check for a new version of turbo]' \
791'--__test-run[]' \
792'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
793'--experimental-allow-no-turbo-json[]' \
794'-h[Print help (see more with '\''--help'\'')]' \
795'--help[Print help (see more with '\''--help'\'')]' \
796'*::packages -- Get insight into a specific package, such as its dependencies and tasks:' \
797&& ret=0
798;;
799(link)
800_arguments "${_arguments_options[@]}" : \
801'--scope=[The scope, i.e. Vercel team, to which you are linking]:SCOPE: ' \
802'--target=[DEPRECATED\: Specify what should be linked (default "remote cache")]:TARGET:(remote-cache spaces)' \
803'--api=[Override the endpoint for API calls]:API: ' \
804'--cwd=[The directory in which to run turbo]:CWD: ' \
805'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
806'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
807stream\:"Use the standard output stream"
808web\:"Use the web user interface (experimental)"))' \
809'--login=[Override the login endpoint]:LOGIN: ' \
810'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
811'--team=[Set the team slug for API calls]:TEAM: ' \
812'--token=[Set the auth token for API calls]:TOKEN: ' \
813'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
814'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
815'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
816'--no-gitignore[Do not create or modify .gitignore (default false)]' \
817'-y[Answer yes to all prompts (default false)]' \
818'--yes[Answer yes to all prompts (default false)]' \
819'--version[]' \
820'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
821'--no-update-notifier[Disable the turbo update notification]' \
822'--color[Force color usage in the terminal]' \
823'--no-color[Suppress color usage in the terminal]' \
824'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
825'(--verbosity)*-v[]' \
826'--check-for-update[Force a check for a new version of turbo]' \
827'--__test-run[]' \
828'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
829'--experimental-allow-no-turbo-json[]' \
830'-h[Print help (see more with '\''--help'\'')]' \
831'--help[Print help (see more with '\''--help'\'')]' \
832&& ret=0
833;;
834(login)
835_arguments "${_arguments_options[@]}" : \
836'--sso-team=[]:SSO_TEAM: ' \
837'--api=[Override the endpoint for API calls]:API: ' \
838'--cwd=[The directory in which to run turbo]:CWD: ' \
839'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
840'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
841stream\:"Use the standard output stream"
842web\:"Use the web user interface (experimental)"))' \
843'--login=[Override the login endpoint]:LOGIN: ' \
844'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
845'--team=[Set the team slug for API calls]:TEAM: ' \
846'--token=[Set the auth token for API calls]:TOKEN: ' \
847'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
848'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
849'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
850'-f[Force a login to receive a new token. Will overwrite any existing tokens for the given login url]' \
851'--force[Force a login to receive a new token. Will overwrite any existing tokens for the given login url]' \
852'(--sso-team)--manual[Manually enter token instead of requesting one from the login service]' \
853'--version[]' \
854'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
855'--no-update-notifier[Disable the turbo update notification]' \
856'--color[Force color usage in the terminal]' \
857'--no-color[Suppress color usage in the terminal]' \
858'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
859'(--verbosity)*-v[]' \
860'--check-for-update[Force a check for a new version of turbo]' \
861'--__test-run[]' \
862'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
863'--experimental-allow-no-turbo-json[]' \
864'-h[Print help (see more with '\''--help'\'')]' \
865'--help[Print help (see more with '\''--help'\'')]' \
866&& ret=0
867;;
868(logout)
869_arguments "${_arguments_options[@]}" : \
870'--api=[Override the endpoint for API calls]:API: ' \
871'--cwd=[The directory in which to run turbo]:CWD: ' \
872'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
873'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
874stream\:"Use the standard output stream"
875web\:"Use the web user interface (experimental)"))' \
876'--login=[Override the login endpoint]:LOGIN: ' \
877'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
878'--team=[Set the team slug for API calls]:TEAM: ' \
879'--token=[Set the auth token for API calls]:TOKEN: ' \
880'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
881'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
882'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
883'--invalidate[Invalidate the token on the server]' \
884'--version[]' \
885'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
886'--no-update-notifier[Disable the turbo update notification]' \
887'--color[Force color usage in the terminal]' \
888'--no-color[Suppress color usage in the terminal]' \
889'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
890'(--verbosity)*-v[]' \
891'--check-for-update[Force a check for a new version of turbo]' \
892'--__test-run[]' \
893'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
894'--experimental-allow-no-turbo-json[]' \
895'-h[Print help (see more with '\''--help'\'')]' \
896'--help[Print help (see more with '\''--help'\'')]' \
897&& ret=0
898;;
899(info)
900_arguments "${_arguments_options[@]}" : \
901'--api=[Override the endpoint for API calls]:API: ' \
902'--cwd=[The directory in which to run turbo]:CWD: ' \
903'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
904'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
905stream\:"Use the standard output stream"
906web\:"Use the web user interface (experimental)"))' \
907'--login=[Override the login endpoint]:LOGIN: ' \
908'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
909'--team=[Set the team slug for API calls]:TEAM: ' \
910'--token=[Set the auth token for API calls]:TOKEN: ' \
911'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
912'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
913'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
914'--version[]' \
915'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
916'--no-update-notifier[Disable the turbo update notification]' \
917'--color[Force color usage in the terminal]' \
918'--no-color[Suppress color usage in the terminal]' \
919'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
920'(--verbosity)*-v[]' \
921'--check-for-update[Force a check for a new version of turbo]' \
922'--__test-run[]' \
923'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
924'--experimental-allow-no-turbo-json[]' \
925'-h[Print help (see more with '\''--help'\'')]' \
926'--help[Print help (see more with '\''--help'\'')]' \
927&& ret=0
928;;
929(prune)
930_arguments "${_arguments_options[@]}" : \
931'*--scope=[]:SCOPE: ' \
932'--out-dir=[]:OUTPUT_DIR: ' \
933'--use-gitignore=[Respect \`.gitignore\` when copying files to <OUT-DIR>]' \
934'--api=[Override the endpoint for API calls]:API: ' \
935'--cwd=[The directory in which to run turbo]:CWD: ' \
936'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
937'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
938stream\:"Use the standard output stream"
939web\:"Use the web user interface (experimental)"))' \
940'--login=[Override the login endpoint]:LOGIN: ' \
941'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
942'--team=[Set the team slug for API calls]:TEAM: ' \
943'--token=[Set the auth token for API calls]:TOKEN: ' \
944'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
945'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
946'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
947'--docker[]' \
948'--version[]' \
949'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
950'--no-update-notifier[Disable the turbo update notification]' \
951'--color[Force color usage in the terminal]' \
952'--no-color[Suppress color usage in the terminal]' \
953'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
954'(--verbosity)*-v[]' \
955'--check-for-update[Force a check for a new version of turbo]' \
956'--__test-run[]' \
957'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
958'--experimental-allow-no-turbo-json[]' \
959'-h[Print help (see more with '\''--help'\'')]' \
960'--help[Print help (see more with '\''--help'\'')]' \
961'*::scope_arg -- Workspaces that should be included in the subset:' \
962&& ret=0
963;;
964(run)
965_arguments "${_arguments_options[@]}" : \
966'(--force --remote-only --remote-cache-read-only --no-cache)--cache=[Set the cache behavior for this run. Pass a list of comma-separated key, value pairs to enable reading and writing to either the local or remote cache]:CACHE: ' \
967'--force=[Ignore the existing cache (to force execution). Equivalent to \`--cache=local\:w,remote\:w\`]' \
968'--remote-only=[Ignore the local filesystem cache for all tasks. Only allow reading and caching artifacts using the remote cache. Equivalent to \`--cache=remote\:rw\`]' \
969'--remote-cache-read-only=[Treat remote cache as read only. Equivalent to \`--cache=remote\:r;local\:rw\`]' \
970'--cache-workers=[Set the number of concurrent cache operations (default 10)]:CACHE_WORKERS: ' \
971'--dry-run=[]' \
972'--graph=[Generate a graph of the task execution and output to a file when a filename is specified (.svg, .png, .jpg, .pdf, .json, .html, .mermaid, .dot). Outputs dot graph to stdout when if no filename is provided]' \
973'(--anon-profile)--profile=[File to write turbo'\''s performance profile output into. You can load the file up in chrome\://tracing to see which parts of your build were slow]:PROFILE: ' \
974'(--profile)--anon-profile=[File to write turbo'\''s performance profile output into. All identifying data omitted from the profile]:ANON_PROFILE: ' \
975'--summarize=[Generate a summary of the turbo run]' \
976'--cache-dir=[Override the filesystem cache directory]:CACHE_DIR: ' \
977'--concurrency=[Limit the concurrency of task execution. Use 1 for serial (i.e. one-at-a-time) execution]:CONCURRENCY: ' \
978'--continue=[Specify how task execution should proceed when an error occurs. Use "never" to cancel all tasks. Use "dependencies-successful" to continue running tasks whose dependencies have succeeded. Use "always" to continue running all tasks, even those whose dependencies have failed]' \
979'--framework-inference=[Specify whether or not to do framework inference for tasks]' \
980'*--global-deps=[Specify glob of global filesystem dependencies to be hashed. Useful for .env and files]:GLOBAL_DEPS: ' \
981'--env-mode=[Environment variable mode. Use "loose" to pass the entire existing environment. Use "strict" to use an allowlist specified in turbo.json]' \
982'*-F+[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
983'*--filter=[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
984'--output-logs=[Set type of process output logging. Use "full" to show all output. Use "hash-only" to show only turbo-computed task hashes. Use "new-only" to show only new output with only hashes for cached tasks. Use "none" to hide process output. (default full)]:OUTPUT_LOGS:(full none hash-only new-only errors-only)' \
985'--log-order=[Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto)]:LOG_ORDER:(auto stream grouped)' \
986'--pkg-inference-root=[]:PKG_INFERENCE_ROOT: ' \
987'--log-prefix=[Use "none" to remove prefixes from task logs. Use "task" to get task id prefixing. Use "auto" to let turbo decide how to prefix the logs based on the execution environment. In most cases this will be the same as "task". Note that tasks running in parallel interleave their logs, so removing prefixes can make it difficult to associate logs with tasks. Use --log-order=grouped to prevent interleaving. (default auto)]:LOG_PREFIX:(auto none task)' \
988'--api=[Override the endpoint for API calls]:API: ' \
989'--cwd=[The directory in which to run turbo]:CWD: ' \
990'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
991'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
992stream\:"Use the standard output stream"
993web\:"Use the web user interface (experimental)"))' \
994'--login=[Override the login endpoint]:LOGIN: ' \
995'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
996'--team=[Set the team slug for API calls]:TEAM: ' \
997'--token=[Set the auth token for API calls]:TOKEN: ' \
998'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
999'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
1000'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
1001'--no-cache[Avoid saving task results to the cache. Useful for development/watch tasks. Equivalent to \`--cache=local\:r,remote\:r\`]' \
1002'--daemon[Force turbo to use the local daemon. If unset turbo will use the default detection logic]' \
1003'--no-daemon[Force turbo to not use the local daemon. If unset turbo will use the default detection logic]' \
1004'--parallel[Execute all tasks in parallel]' \
1005'--single-package[Run turbo in single-package mode]' \
1006'(-F --filter)--affected[Filter to only packages that are affected by changes between the current branch and \`main\`]' \
1007'--only[Only executes the tasks specified, does not execute parent tasks]' \
1008'--version[]' \
1009'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
1010'--no-update-notifier[Disable the turbo update notification]' \
1011'--color[Force color usage in the terminal]' \
1012'--no-color[Suppress color usage in the terminal]' \
1013'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
1014'(--verbosity)*-v[]' \
1015'--check-for-update[Force a check for a new version of turbo]' \
1016'--__test-run[]' \
1017'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
1018'--experimental-allow-no-turbo-json[]' \
1019'-h[Print help (see more with '\''--help'\'')]' \
1020'--help[Print help (see more with '\''--help'\'')]' \
1021'*::tasks:' \
1022&& ret=0
1023;;
1024(query)
1025_arguments "${_arguments_options[@]}" : \
1026'-V+[Pass variables to the query via a JSON file]:VARIABLES: ' \
1027'--variables=[Pass variables to the query via a JSON file]:VARIABLES: ' \
1028'--api=[Override the endpoint for API calls]:API: ' \
1029'--cwd=[The directory in which to run turbo]:CWD: ' \
1030'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
1031'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
1032stream\:"Use the standard output stream"
1033web\:"Use the web user interface (experimental)"))' \
1034'--login=[Override the login endpoint]:LOGIN: ' \
1035'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
1036'--team=[Set the team slug for API calls]:TEAM: ' \
1037'--token=[Set the auth token for API calls]:TOKEN: ' \
1038'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
1039'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
1040'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
1041'()--schema[]' \
1042'--version[]' \
1043'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
1044'--no-update-notifier[Disable the turbo update notification]' \
1045'--color[Force color usage in the terminal]' \
1046'--no-color[Suppress color usage in the terminal]' \
1047'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
1048'(--verbosity)*-v[]' \
1049'--check-for-update[Force a check for a new version of turbo]' \
1050'--__test-run[]' \
1051'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
1052'--experimental-allow-no-turbo-json[]' \
1053'-h[Print help (see more with '\''--help'\'')]' \
1054'--help[Print help (see more with '\''--help'\'')]' \
1055'::query -- The query to run, either a file path or a query string:' \
1056&& ret=0
1057;;
1058(watch)
1059_arguments "${_arguments_options[@]}" : \
1060'--cache-dir=[Override the filesystem cache directory]:CACHE_DIR: ' \
1061'--concurrency=[Limit the concurrency of task execution. Use 1 for serial (i.e. one-at-a-time) execution]:CONCURRENCY: ' \
1062'--continue=[Specify how task execution should proceed when an error occurs. Use "never" to cancel all tasks. Use "dependencies-successful" to continue running tasks whose dependencies have succeeded. Use "always" to continue running all tasks, even those whose dependencies have failed]' \
1063'--framework-inference=[Specify whether or not to do framework inference for tasks]' \
1064'*--global-deps=[Specify glob of global filesystem dependencies to be hashed. Useful for .env and files]:GLOBAL_DEPS: ' \
1065'--env-mode=[Environment variable mode. Use "loose" to pass the entire existing environment. Use "strict" to use an allowlist specified in turbo.json]' \
1066'*-F+[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
1067'*--filter=[Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm'\''s syntax, and additional documentation and examples can be found in turbo'\''s documentation https\://turborepo.com/docs/reference/command-line-reference/run#--filter]:FILTER: ' \
1068'--output-logs=[Set type of process output logging. Use "full" to show all output. Use "hash-only" to show only turbo-computed task hashes. Use "new-only" to show only new output with only hashes for cached tasks. Use "none" to hide process output. (default full)]:OUTPUT_LOGS:(full none hash-only new-only errors-only)' \
1069'--log-order=[Set type of task output order. Use "stream" to show output as soon as it is available. Use "grouped" to show output when a command has finished execution. Use "auto" to let turbo decide based on its own heuristics. (default auto)]:LOG_ORDER:(auto stream grouped)' \
1070'--pkg-inference-root=[]:PKG_INFERENCE_ROOT: ' \
1071'--log-prefix=[Use "none" to remove prefixes from task logs. Use "task" to get task id prefixing. Use "auto" to let turbo decide how to prefix the logs based on the execution environment. In most cases this will be the same as "task". Note that tasks running in parallel interleave their logs, so removing prefixes can make it difficult to associate logs with tasks. Use --log-order=grouped to prevent interleaving. (default auto)]:LOG_PREFIX:(auto none task)' \
1072'--api=[Override the endpoint for API calls]:API: ' \
1073'--cwd=[The directory in which to run turbo]:CWD: ' \
1074'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
1075'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
1076stream\:"Use the standard output stream"
1077web\:"Use the web user interface (experimental)"))' \
1078'--login=[Override the login endpoint]:LOGIN: ' \
1079'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
1080'--team=[Set the team slug for API calls]:TEAM: ' \
1081'--token=[Set the auth token for API calls]:TOKEN: ' \
1082'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
1083'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
1084'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
1085'--single-package[Run turbo in single-package mode]' \
1086'(-F --filter)--affected[Filter to only packages that are affected by changes between the current branch and \`main\`]' \
1087'--only[Only executes the tasks specified, does not execute parent tasks]' \
1088'--experimental-write-cache[EXPERIMENTAL\: Write to cache in watch mode]' \
1089'--version[]' \
1090'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
1091'--no-update-notifier[Disable the turbo update notification]' \
1092'--color[Force color usage in the terminal]' \
1093'--no-color[Suppress color usage in the terminal]' \
1094'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
1095'(--verbosity)*-v[]' \
1096'--check-for-update[Force a check for a new version of turbo]' \
1097'--__test-run[]' \
1098'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
1099'--experimental-allow-no-turbo-json[]' \
1100'-h[Print help (see more with '\''--help'\'')]' \
1101'--help[Print help (see more with '\''--help'\'')]' \
1102'*::tasks:' \
1103&& ret=0
1104;;
1105(unlink)
1106_arguments "${_arguments_options[@]}" : \
1107'--target=[DEPRECATED\: Specify what should be unlinked (default "remote cache")]:TARGET:(remote-cache spaces)' \
1108'--api=[Override the endpoint for API calls]:API: ' \
1109'--cwd=[The directory in which to run turbo]:CWD: ' \
1110'--heap=[Specify a file to save a pprof heap profile]:HEAP: ' \
1111'--ui=[Specify whether to use the streaming UI or TUI]:UI:((tui\:"Use the terminal user interface"
1112stream\:"Use the standard output stream"
1113web\:"Use the web user interface (experimental)"))' \
1114'--login=[Override the login endpoint]:LOGIN: ' \
1115'--remote-cache-timeout=[Set a timeout for all HTTP requests]:TIMEOUT: ' \
1116'--team=[Set the team slug for API calls]:TEAM: ' \
1117'--token=[Set the auth token for API calls]:TOKEN: ' \
1118'--trace=[Specify a file to save a pprof trace]:TRACE: ' \
1119'(-v)--verbosity=[Verbosity level. Useful when debugging Turborepo or creating logs for issue reports]:COUNT: ' \
1120'--root-turbo-json=[Use the \`turbo.json\` located at the provided path instead of one at the root of the repository]:ROOT_TURBO_JSON: ' \
1121'--version[]' \
1122'--skip-infer[Skip any attempts to infer which version of Turbo the project is configured to use]' \
1123'--no-update-notifier[Disable the turbo update notification]' \
1124'--color[Force color usage in the terminal]' \
1125'--no-color[Suppress color usage in the terminal]' \
1126'--preflight[When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization]' \
1127'(--verbosity)*-v[]' \
1128'--check-for-update[Force a check for a new version of turbo]' \
1129'--__test-run[]' \
1130'--dangerously-disable-package-manager-check[Allow for missing \`packageManager\` in \`package.json\`]' \
1131'--experimental-allow-no-turbo-json[]' \
1132'-h[Print help (see more with '\''--help'\'')]' \
1133'--help[Print help (see more with '\''--help'\'')]' \
1134&& ret=0
1135;;
1136 esac
1137 ;;
1138esac
1139}
1140
1141(( $+functions[_turbo_commands] )) ||
1142_turbo_commands() {
1143 local commands; commands=(
1144'bin:Get the path to the Turbo binary' \
1145'boundaries:' \
1146'clone:' \
1147'completion:Generate the autocompletion script for the specified shell' \
1148'daemon:Runs the Turborepo background daemon' \
1149'generate:Generate a new app / package' \
1150'telemetry:Enable or disable anonymous telemetry' \
1151'scan:Turbo your monorepo by running a number of '\''repo lints'\'' to identify common issues, suggest fixes, and improve performance' \
1152'config:' \
1153'ls:EXPERIMENTAL\: List packages in your monorepo' \
1154'link:Link your local directory to a Vercel organization and enable remote caching' \
1155'login:Login to your Vercel account' \
1156'logout:Logout to your Vercel account' \
1157'info:Print debugging information' \
1158'prune:Prepare a subset of your monorepo' \
1159'run:Run tasks across projects in your monorepo' \
1160'query:Query your monorepo using GraphQL. If no query is provided, spins up a GraphQL server with GraphiQL' \
1161'watch:Arguments used in run and watch' \
1162'unlink:Unlink the current directory from your Vercel organization and disable Remote Caching' \
1163 )
1164 _describe -t commands 'turbo commands' commands "$@"
1165}
1166(( $+functions[_turbo__bin_commands] )) ||
1167_turbo__bin_commands() {
1168 local commands; commands=()
1169 _describe -t commands 'turbo bin commands' commands "$@"
1170}
1171(( $+functions[_turbo__boundaries_commands] )) ||
1172_turbo__boundaries_commands() {
1173 local commands; commands=()
1174 _describe -t commands 'turbo boundaries commands' commands "$@"
1175}
1176(( $+functions[_turbo__clone_commands] )) ||
1177_turbo__clone_commands() {
1178 local commands; commands=()
1179 _describe -t commands 'turbo clone commands' commands "$@"
1180}
1181(( $+functions[_turbo__completion_commands] )) ||
1182_turbo__completion_commands() {
1183 local commands; commands=()
1184 _describe -t commands 'turbo completion commands' commands "$@"
1185}
1186(( $+functions[_turbo__config_commands] )) ||
1187_turbo__config_commands() {
1188 local commands; commands=()
1189 _describe -t commands 'turbo config commands' commands "$@"
1190}
1191(( $+functions[_turbo__daemon_commands] )) ||
1192_turbo__daemon_commands() {
1193 local commands; commands=(
1194'restart:Restarts the turbo daemon' \
1195'start:Ensures that the turbo daemon is running' \
1196'status:Reports the status of the turbo daemon' \
1197'stop:Stops the turbo daemon' \
1198'clean:Stops the turbo daemon if it is already running, and removes any stale daemon state' \
1199'logs:Shows the daemon logs' \
1200 )
1201 _describe -t commands 'turbo daemon commands' commands "$@"
1202}
1203(( $+functions[_turbo__daemon__clean_commands] )) ||
1204_turbo__daemon__clean_commands() {
1205 local commands; commands=()
1206 _describe -t commands 'turbo daemon clean commands' commands "$@"
1207}
1208(( $+functions[_turbo__daemon__logs_commands] )) ||
1209_turbo__daemon__logs_commands() {
1210 local commands; commands=()
1211 _describe -t commands 'turbo daemon logs commands' commands "$@"
1212}
1213(( $+functions[_turbo__daemon__restart_commands] )) ||
1214_turbo__daemon__restart_commands() {
1215 local commands; commands=()
1216 _describe -t commands 'turbo daemon restart commands' commands "$@"
1217}
1218(( $+functions[_turbo__daemon__start_commands] )) ||
1219_turbo__daemon__start_commands() {
1220 local commands; commands=()
1221 _describe -t commands 'turbo daemon start commands' commands "$@"
1222}
1223(( $+functions[_turbo__daemon__status_commands] )) ||
1224_turbo__daemon__status_commands() {
1225 local commands; commands=()
1226 _describe -t commands 'turbo daemon status commands' commands "$@"
1227}
1228(( $+functions[_turbo__daemon__stop_commands] )) ||
1229_turbo__daemon__stop_commands() {
1230 local commands; commands=()
1231 _describe -t commands 'turbo daemon stop commands' commands "$@"
1232}
1233(( $+functions[_turbo__generate_commands] )) ||
1234_turbo__generate_commands() {
1235 local commands; commands=(
1236'workspace:Add a new package or app to your project' \
1237'run:' \
1238 )
1239 _describe -t commands 'turbo generate commands' commands "$@"
1240}
1241(( $+functions[_turbo__generate__run_commands] )) ||
1242_turbo__generate__run_commands() {
1243 local commands; commands=()
1244 _describe -t commands 'turbo generate run commands' commands "$@"
1245}
1246(( $+functions[_turbo__generate__workspace_commands] )) ||
1247_turbo__generate__workspace_commands() {
1248 local commands; commands=()
1249 _describe -t commands 'turbo generate workspace commands' commands "$@"
1250}
1251(( $+functions[_turbo__info_commands] )) ||
1252_turbo__info_commands() {
1253 local commands; commands=()
1254 _describe -t commands 'turbo info commands' commands "$@"
1255}
1256(( $+functions[_turbo__link_commands] )) ||
1257_turbo__link_commands() {
1258 local commands; commands=()
1259 _describe -t commands 'turbo link commands' commands "$@"
1260}
1261(( $+functions[_turbo__login_commands] )) ||
1262_turbo__login_commands() {
1263 local commands; commands=()
1264 _describe -t commands 'turbo login commands' commands "$@"
1265}
1266(( $+functions[_turbo__logout_commands] )) ||
1267_turbo__logout_commands() {
1268 local commands; commands=()
1269 _describe -t commands 'turbo logout commands' commands "$@"
1270}
1271(( $+functions[_turbo__ls_commands] )) ||
1272_turbo__ls_commands() {
1273 local commands; commands=()
1274 _describe -t commands 'turbo ls commands' commands "$@"
1275}
1276(( $+functions[_turbo__prune_commands] )) ||
1277_turbo__prune_commands() {
1278 local commands; commands=()
1279 _describe -t commands 'turbo prune commands' commands "$@"
1280}
1281(( $+functions[_turbo__query_commands] )) ||
1282_turbo__query_commands() {
1283 local commands; commands=()
1284 _describe -t commands 'turbo query commands' commands "$@"
1285}
1286(( $+functions[_turbo__run_commands] )) ||
1287_turbo__run_commands() {
1288 local commands; commands=()
1289 _describe -t commands 'turbo run commands' commands "$@"
1290}
1291(( $+functions[_turbo__scan_commands] )) ||
1292_turbo__scan_commands() {
1293 local commands; commands=()
1294 _describe -t commands 'turbo scan commands' commands "$@"
1295}
1296(( $+functions[_turbo__telemetry_commands] )) ||
1297_turbo__telemetry_commands() {
1298 local commands; commands=(
1299'enable:Enables anonymous telemetry' \
1300'disable:Disables anonymous telemetry' \
1301'status:Reports the status of telemetry' \
1302 )
1303 _describe -t commands 'turbo telemetry commands' commands "$@"
1304}
1305(( $+functions[_turbo__telemetry__disable_commands] )) ||
1306_turbo__telemetry__disable_commands() {
1307 local commands; commands=()
1308 _describe -t commands 'turbo telemetry disable commands' commands "$@"
1309}
1310(( $+functions[_turbo__telemetry__enable_commands] )) ||
1311_turbo__telemetry__enable_commands() {
1312 local commands; commands=()
1313 _describe -t commands 'turbo telemetry enable commands' commands "$@"
1314}
1315(( $+functions[_turbo__telemetry__status_commands] )) ||
1316_turbo__telemetry__status_commands() {
1317 local commands; commands=()
1318 _describe -t commands 'turbo telemetry status commands' commands "$@"
1319}
1320(( $+functions[_turbo__unlink_commands] )) ||
1321_turbo__unlink_commands() {
1322 local commands; commands=()
1323 _describe -t commands 'turbo unlink commands' commands "$@"
1324}
1325(( $+functions[_turbo__watch_commands] )) ||
1326_turbo__watch_commands() {
1327 local commands; commands=()
1328 _describe -t commands 'turbo watch commands' commands "$@"
1329}
1330
1331if [ "$funcstack[1]" = "_turbo" ]; then
1332 _turbo "$@"
1333else
1334 compdef _turbo turbo
1335fi