diff --git a/src/_clang-format b/src/_clang-format index ec30e94..9e931de 100644 --- a/src/_clang-format +++ b/src/_clang-format @@ -49,7 +49,7 @@ _arguments \ '(-n --dry-run)'{-n,--dry-run}'[If set, do not actually make the formatting changes]' \ '--dump-config[Dump configuration options to stdout and exit]' \ '--fail-on-incomplete-format[If set, fail with exit code 1 on incomplete format]' \ - '--fallback-style=[The name of the predefined style used as a fallback]: :'"($styles)" \ + '--fallback-style=[The name of the predefined style used as a fallback]: :($styles)' \ '--ferror-limit=[Set the maximum number of clang-format errors to emit before stopping]:limit' \ '*--files=[Provide a list of files to run clang-format]: :_files' \ '--fno-color-diagnostics[If set, not to print diagnostics in color]' \ @@ -63,7 +63,7 @@ _arguments \ '--print-options[Print non default options after command line parsing]' \ '--qualifier-alignment=[If set, overrides the qualifier alignment style determined by the QualifierAlignment style flag]' \ '--sort-includes[If set, overrides the include sorting behavior determined by the SortIncludes style flag]' \ - '--style=[Set coding style]: :'"($styles)" \ + '--style=[Set coding style]: :($styles)' \ '--verbose[If set, show the list of processed files]' \ '(- *)--version[Display the version of this program]' \ '*: :_files' diff --git a/src/_dget b/src/_dget index 4a507d0..9df7183 100644 --- a/src/_dget +++ b/src/_dget @@ -28,7 +28,7 @@ # Description # ----------- # -# Completion script for dget 2.22.2 +# Completion script for dget 2.25.19 # # ------------------------------------------------------------------------------ # Authors @@ -39,28 +39,21 @@ # # ------------------------------------------------------------------------------ -_dget() { - local context state line expl - local -A opt_args - - _arguments -A "-*" \ - '(- *)'{-h,--help}'[Show help message]' \ - '(- *)'{-v,--version}'[Print license, copyright, and version information and exit]' \ - '(-a --all)'{-a,--all}'[Package is a source package; download all binary packages]' \ - '(--no-conf -b --backup)'{-b,--backup}'[Move files that would be overwritten to ./backup]' \ - '(--no-conf -q --quiet)'{-q,--quiet}'[Suppress wget/curl output]' \ - '(--no-conf -x --extract -d --download-only --build)'{-d,--download-only}'[Do not extract downloaded source]' \ - '(--no-conf -x --extract -d --download-only --build)'{-x,--extract}'[Unpack downloaded source]' \ - '(--no-conf -u --allow-unauthenticated)'{-u,--allow-unauthenticated}'[Make no attempt to verify source package signature]' \ - '(--no-conf -x --extract -d --download-only --build)--build[Build package with dpkg-buildpackage after download]' \ - '(--no-conf)--path[Check this directory in addition to the apt archive]:DIR:_files -/' \ - '(--no-conf --insecure)--insecure[Do not check SSL certificates when downloading]' \ - '(--no-conf --no-cache)--no-cache[Disable server-side HTTP cache]' \ - "(--no-conf)--no-conf[Don't read devscripts config files]" \ - '(-)*:debian package or URL: _alternative "_deb_packages available" "_urls"' -} - -_dget "$@" +_arguments -A "-*" \ + '(- *)'{-h,--help}'[Show help message]' \ + '(- *)'{-v,--version}'[Print license, copyright, and version information and exit]' \ + '(-a --all)'{-a,--all}'[Package is a source package; download all binary packages]' \ + '(--no-conf -b --backup)'{-b,--backup}'[Move files that would be overwritten to ./backup]' \ + '(--no-conf -q --quiet)'{-q,--quiet}'[Suppress wget/curl output]' \ + '(--no-conf -x --extract -d --download-only --build)'{-d,--download-only}'[Do not extract downloaded source]' \ + '(--no-conf -x --extract -d --download-only --build)'{-x,--extract}'[Unpack downloaded source]' \ + '(--no-conf -u --allow-unauthenticated)'{-u,--allow-unauthenticated}'[Make no attempt to verify source package signature]' \ + '(--no-conf -x --extract -d --download-only --build)--build[Build package with dpkg-buildpackage after download]' \ + '(--no-conf)--path[Check this directory in addition to the apt archive]:DIR:_files -/' \ + '(--no-conf -k --insecure)'{-k,--insecure}'[Do not check SSL certificates when downloading]' \ + '(--no-conf --no-cache)--no-cache[Disable server-side HTTP cache]' \ + "(--no-conf)--no-conf[Don't read devscripts config files]" \ + '(-)*:debian package or URL: _alternative "_deb_packages available" "_urls"' # Local Variables: # mode: Shell-Script diff --git a/src/_diana b/src/_diana index b4e7c0e..c1d8f02 100644 --- a/src/_diana +++ b/src/_diana @@ -79,72 +79,66 @@ _diana_command_arguments() { (remove) _diana_load_gids _describe -t output 'Downloads to delete' GIDs - ;; + ;; (info) _diana_load_gids _describe -t output 'Downloads to get info' GIDs - ;; + ;; (files) _diana_load_gids _describe -t output 'Get files for downloads' GIDs - ;; + ;; (forcerm) _diana_load_gids _describe -t output 'Downloads to delete' GIDs - ;; + ;; (pause) _diana_load_gids _describe -t output 'Downloads to pause' GIDs - ;; + ;; (resume) _diana_load_paused_gids _describe -t output 'Downloads to resume' PGIDs - ;; + ;; (preview) _diana_load_gids _describe -t output 'Downloads to preview' GIDs - ;; + ;; esac - - } -_diana() { - local -a commands +_diana_subcommands() { + local -a commands=( + "list:Output the list of active downloads." + "paused:Output the list of paused downloads." + "stopped:Output the list of stopped downloads." + "info:Output information regarding the given GIDs." + "files:Output the files owned by the downloads corresponding to the given GIDs." + "errors:Output the list of errors." + "stats:Output download bandwidth statistics." + "add:Download the given items (local or remote URLs to torrents, etc.)." + "remove:Remove the downloads corresponding to the given GIDs." + "forcerm:Forcibly remove the downloads corresponding to the given GIDs." + "pause:Pause the downloads corresponding to the given GIDs." + "resume:Resume the downloads corresponding to the given GIDs." + "preview:Preview all the files from all the downloads corresponding to the given GIDs." + "sleep:Pause all the active downloads." + "wake:Resume all the paused downloads." + "purge:Clear the list of stopped downloads and errors." + "clean:Stop seeding completed downloads." + ) - commands=( - "list:Output the list of active downloads." - "paused:Output the list of paused downloads." - "stopped:Output the list of stopped downloads." - "info:Output information regarding the given GIDs." - "files:Output the files owned by the downloads corresponding to the given GIDs." - "errors:Output the list of errors." - "stats:Output download bandwidth statistics." - "add:Download the given items (local or remote URLs to torrents, etc.)." - "remove:Remove the downloads corresponding to the given GIDs." - "forcerm:Forcibly remove the downloads corresponding to the given GIDs." - "pause:Pause the downloads corresponding to the given GIDs." - "resume:Resume the downloads corresponding to the given GIDs." - "preview:Preview all the files from all the downloads corresponding to the given GIDs." - "sleep:Pause all the active downloads." - "wake:Resume all the paused downloads." - "purge:Clear the list of stopped downloads and errors." - "clean:Stop seeding completed downloads." - ) - -_arguments -C \ - '1:cmd:->cmds' \ - '*:: :->args' \ - -case "$state" in - (cmds) - _describe -t commands 'commands' commands - ;; - (*) - _diana_command_arguments - ;; -esac + _describe -t commands 'commands' commands } -_diana +_arguments \ + '1:cmd:_diana_subcommands' \ + '*:: :_diana_command_arguments' +# Local Variables: +# mode: Shell-Script +# sh-indentation: 2 +# indent-tabs-mode: nil +# sh-basic-offset: 2 +# End: +# vim: ft=zsh sw=2 ts=2 et diff --git a/src/_direnv b/src/_direnv index 58be192..be97edd 100644 --- a/src/_direnv +++ b/src/_direnv @@ -43,9 +43,11 @@ _direnv_commands() { 'grant:Grants direnv permission to load the given .envrc or .env file' 'block:Revokes the authorization of a given .envrc or .env file' 'deny:Revokes the authorization of a given .envrc or .env file' + 'disallow:Revokes the authorization of a given .envrc or .env file' 'revoke:Revokes the authorization of a given .envrc or .env file' 'edit:Opens PATH_TO_RC or the current .envrc or .env into an $EDITOR and allow the file to be loaded afterwards' 'exec:Executes a command after loading the first .envrc or .env found in DIR' + 'export:Loads an .envrc or .env and prints the diff in terms of exports' "fetchurl:Fetches a given URL into direnv's CAS" 'help:shows this help' 'hook:Used to setup the shell hook' @@ -82,6 +84,12 @@ _direnv() { '2:command:_command_names' \ && ret=0 ;; + (export) + local -a supported_shells=(bash elvish gha gzenv murex tcsh vim zsh fish json pwsh systemd) + _arguments \ + '1:shell:($supported_shells)' \ + && ret=0 + ;; (hook) _arguments \ '1:shell:(bash zsh fish tcsh elvish)' \ diff --git a/src/_do-release-upgrade b/src/_do-release-upgrade index bb74adf..f9969ac 100644 --- a/src/_do-release-upgrade +++ b/src/_do-release-upgrade @@ -24,7 +24,7 @@ # Description # ----------- # -# Completion script for do-release-upgrade 23.10.10 +# Completion script for do-release-upgrade 25.10.7 # # ------------------------------------------------------------------------------ # Authors @@ -40,12 +40,10 @@ _arguments \ '(-d --devel-release)'{-d,--devel-release}'[Upgrade to the development release]' \ '--data-dir=[Directory that contains the data files]:dir:_files -/' \ '(-p --proposed)'{-p,--proposed}'[Try upgrading to the latest release using the upgrade from \$distro-proposed]' \ - '(-m --mode)'{-m,--mode=}'[Run in a special upgrade mode]:mode:(desktop server)' \ '(-f --frontend)'{-f,--frontend}'[Run the specified frontend]:frontend' \ '(- *)--check-dist-upgrade-only[Check only if a new distribution release is available]' \ '--allow-third-party[Try the upgrade with third party mirrors and repositories]' \ - '(-q --quiet)'{-q,--quiet}'[Quiet mode]' \ - \*{-e,--env=}'[A comma-separated list of environment variables]' + '(-q --quiet)'{-q,--quiet}'[Quiet mode]' # Local Variables: # mode: Shell-Script diff --git a/src/_jest b/src/_jest index 6809d44..0b54afc 100644 --- a/src/_jest +++ b/src/_jest @@ -28,7 +28,7 @@ # Description # ----------- # -# Completion script for Jest 29.7.0 (https://jestjs.io/) +# Completion script for Jest 30.1.3 (https://jestjs.io/) # # ------------------------------------------------------------------------------ # Authors @@ -41,112 +41,114 @@ local curcontext=$curcontext state line ret=1 declare -A opt_args +local -a notify_modes=("always" "failure" "success" "change" "success-change" "failure-change") + _arguments -C -s \ '(- : *)'{-h,--help}'[Show help]' \ '(- : *)'--version'[Show version number]' \ - --all'[The opposite of `onlyChanged`.]' \ - --automock'[Automock all files by default.]' \ - '(-b --bail)'{-b,--bail}'[Exit the test suite immediately after `n` number of failing tests.]' \ - --cache'[Whether to use the transform cache.]' \ - --cacheDirectory'[The directory where Jest should store its cached dependency information.]:directories:_dirs' \ - --changedFilesWithAncestor'[Runs tests related to the current changes and the changes made in the last commit.]' \ - --changedSince'[Runs tests related to the changes since the provided branch.]:string' \ - --ci'[Whether to run Jest in continuous integration (CI) mode.]' \ - --clearCache'[Clears the configured Jest cache directory and then exits.]' \ - --clearMocks'[Automatically clear mock calls, instances, contexts and results before every test.]' \ - --collectCoverageFrom'[A glob pattern relative to matching the files that coverage info needs to be collected from.]:string' \ - '(--color --colors)'{--color,--colors}'[Forces test results output color highlighting (even if stdout is not a TTY).]' \ - '(-c --config)'{-c,--config}'[The path to a jest config file specifying how to find and execute tests.]:files:_files' \ - '(--coverage --collectCoverage)'{--coverage,--collectCoverage}'[Indicates that test coverage information should be collected and reported in the output.]' \ - --coverageDirectory'[The directory where Jest should output its coverage files.]:directories:_dirs' \ - --coveragePathIgnorePatterns'[An array of regexp pattern strings that are matched against all file paths before executing the test.]:array:' \ - --coverageProvider'[Select between Babel and V8 to collect coverage]:choices:(babel v8)' \ - --coverageReporters'[A list of reporter names that Jest uses when writing coverage reports.]:array' \ - --coverageThreshold'[A JSON string with which will be used to configure minimum threshold enforcement for coverage results]:string' \ - --debug'[Print debugging info about your jest config.]' \ - --detectLeaks'[**EXPERIMENTAL**: Detect memory leaks in tests.]' \ - --detectOpenHandles'[Print out remaining open handles preventing Jest from exiting at the end of a test run.]' \ - '(--env --testEnvironment)'{--env,--testEnvironment}'[The test environment used for all tests.]:files:_files' \ - --errorOnDeprecated'[Make calling deprecated APIs throw helpful error messages.]' \ - '(-e --expand)'{-e,--expand}'[Use this flag to show full diffs instead of a patch.]' \ - --filter'[Path to a module exporting a filtering function.]:string' \ - --findRelatedTests'[Find related tests for a list of source files that were passed in as arguments.]' \ - --forceExit'[Force Jest to exit after all tests have completed running.]' \ - --globalSetup'[The path to a module that runs before All Tests.]:files:_files' \ - --globalTeardown'[The path to a module that runs after All Tests.]:files:_files' \ - --globals'[A JSON string with map of global variables that need to be available in all test environments.]:string' \ - --haste'[A JSON string with map of variables for the haste module system]:string' \ - --ignoreProjects'[Ignore the tests of the specified projects.]:array' \ - --init'[Generate a basic configuration file]' \ - --injectGlobals'[Should Jest inject global variables or not]' \ - --json'[Prints the test results in JSON.]' \ - --lastCommit'[Run all tests affected by file changes in the last commit made.]' \ - --listTests'[Lists all tests Jest will run given the arguments and exits.]' \ - --logHeapUsage'[Logs the heap usage after every test.]' \ - --maxConcurrency'[Specifies the maximum number of tests that are allowed to run concurrently.]:number' \ - '(-w --maxWorkers)'{-w,--maxWorkers}'[Specifies the maximum number of workers the worker-pool will spawn for running tests.]:string' \ - --moduleDirectories'[An array of directory names to be searched recursively up from the requiring module'"'"'s location.]:directories:_dirs' \ - --moduleFileExtensions'[An array of file extensions your modules use.]:array' \ - --moduleNameMapper'[A JSON string with a map from regular expressions to module names or to arrays of module names that allow to stub out resources]:string' \ - --modulePathIgnorePatterns'[An array of regexp pattern strings that are matched against all module paths before those paths are to be considered "visible" to the module loader.]:array' \ - --modulePaths'[An array of absolute paths to additional locations to search when resolving modules.]:directories:_dirs' \ - --no-cache'[Do not use the transform cache.]' \ - --no-watchman'[Disable watchman for file crawling.]' \ - --noStackTrace'[Disables stack trace in test results output]' \ - --notify'[Activates notifications for test results.]' \ - --notifyMode'[Specifies when notifications will appear for test results.]:string' \ - '(-o --onlyChanged)'{-o,--onlyChanged}'[Attempts to identify which tests to run based on which files have changed in the current repository.]' \ - '(-f --onlyFailures)'{-f,--onlyFailures}'[Run tests that failed in the previous execution.]' \ - --openHandlesTimeout'[Print a warning about probable open handles if Jest does not exit cleanly after this number of milliseconds.]:number' \ - --outputFile'[Write test results to a file when the --json option is also specified.]:files:_files' \ - --passWithNoTests'[Will not fail if no tests are found (for example while using `--testPathPattern`.)]' \ - --preset'[A preset that is used as a base for Jest'"'"'s configuration.]:string' \ - --prettierPath'[The path to the "prettier" module used for inline snapshots.]:string' \ - --projects'[A list of projects that use Jest to run all tests of all projects in a single instance of Jest.]:array' \ - --randomize'[Shuffle the order of the tests within a file.]' \ - --reporters'[A list of custom reporters for the test suite.]:array' \ - --resetMocks'[Automatically reset mock state before every test.]' \ - --resetModules'[If enabled, the module registry for every test file will be reset before running each individual test.]' \ - --resolver'[A JSON string which allows the use of a custom resolver.]:string' \ - --restoreMocks'[Automatically restore mock state and implementation before every test.]' \ - --rootDir'[The root directory that Jest should scan for tests and modules within.]:directories:_dirs' \ - --roots'[A list of paths to directories that Jest should use to search for files in.]:array' \ - '(-i --runInBand)'{-i,--runInBand}'[Run all tests serially in the current process.]' \ - --runTestsByPath'[Used when provided patterns are exact file paths.]' \ - --runner'[Allows to use a custom runner instead of Jest'"'"'s default test runner.]:string' \ - --seed'[Sets a seed value that can be retrieved in a tests file via `jest.getSeed()`.]:number' \ - --selectProjects'[Run the tests of the specified projects.]:array' \ - --setupFiles'[A list of paths to modules that run some code to configure or set up the testing environment before each test.]:files:_files' \ - --setupFilesAfterEnv'[A list of paths to modules that run some code to configure or set up the testing framework before each test]:files:_files' \ - --shard'[Shard tests and execute only the selected shard]:files:_files' \ - --showConfig'[Print your jest config and then exits.]' \ - --showSeed'[Prints the seed value in the test report summary.]' \ - --silent'[Prevent tests from printing messages through the console.]' \ - --skipFilter'[Disables the filter provided by --filter.]' \ - --snapshotSerializers'[A list of paths to snapshot serializer modules Jest should use for snapshot testing.]:files:_files' \ - --testEnvironmentOptions'[A JSON string with options that will be passed to the `testEnvironment`.]:string' \ - --testFailureExitCode'[Exit code of `jest` command if the test run failed]:string' \ - --testLocationInResults'[Add `location` information to the test results]' \ - --testMatch'[The glob patterns Jest uses to detect test files.]:array' \ - '(-t --testNamePattern)'{-t,--testNamePattern}'[Run only tests with a name that matches the regex pattern.]:string' \ - --testPathIgnorePatterns'[An array of regexp pattern strings that are matched against all test paths before executing the test.]:array' \ - --testPathPattern'[A regexp pattern string that is matched against all tests paths before executing the test.]:array' \ - --testRegex'[A string or array of string regexp patterns that Jest uses to detect test files.]:array' \ - --testResultsProcessor'[Allows the use of a custom results processor.]:string' \ - --testRunner'[Allows to specify a custom test runner.]:string' \ - --testSequencer'[Allows to specify a custom test sequencer.]:string' \ - --testTimeout'[This option sets the default timeouts of test cases.]:number' \ - --transform'[A JSON string which maps from regular expressions to paths to transformers.]:string' \ - --transformIgnorePatterns'[An array of regexp pattern strings that are matched against all source file paths before transformation.]:array' \ - --unmockedModulePathPatterns'[An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them.]:array' \ - '(-u --updateSnapshot)'{-u,--updateSnapshot}'[Use this flag to re-record snapshots.]' \ - --useStderr'[Divert all output to stderr.]' \ - --verbose'[Display individual test results with the test suite hierarchy.]' \ - --watch'[Watch files for changes and rerun tests related to changed files.]' \ - --watchAll'[Watch files for changes and rerun all tests.]' \ - --watchPathIgnorePatterns'[An array of regexp pattern strings that are matched against all paths before trigger test re-run in watch mode.]:array' \ - --watchman'[Whether to use watchman for file crawling.]' \ - --workerThreads'[Whether to use worker threads for parallelization.]' \ + '--all[The opposite of "onlyChanged"]' \ + '--automock[Automock all files by default]' \ + '(-b --bail)'{-b,--bail}'[Exit the test suite immediately after "n" number of failing tests]' \ + '(--cache --no-cache)--cache[Use the transform cache]' \ + '(--cache --no-cache)--no-cache[Do not use the transform cache]' \ + '--cacheDirectory[The directory where Jest should store its cached dependency information]:dir:_files -/' \ + '--changedFilesWithAncestor[Run tests related to the current changes and the changes made in the last commit]' \ + '--changedSince[Run tests related to the changes since the provided branch]:string' \ + '--ci[Run Jest in continuous integration (CI) mode]' \ + '--clearCache[Clear the configured Jest cache directory and then exits]' \ + '--clearMocks[Automatically clear mock calls, instances, contexts and results before every test]' \ + '--collectCoverageFrom[A glob pattern for collecting coverage info]:string' \ + '(--color --colors)'{--color,--colors}'[Force test results output color highlighting (even if stdout is not a TTY)]' \ + '(-c --config)'{-c,--config}'[The path to a jest config file specifying how to find and execute tests]:files:_files' \ + '(--coverage --collectCoverage)'{--coverage,--collectCoverage}'[Indicate that test coverage information should be collected and reported in the output]' \ + '--coverageDirectory[The directory where Jest should output its coverage files]:dir:_files -/' \ + '--coveragePathIgnorePatterns[An array of regexp pattern strings that are matched against all file paths before executing the test]:array' \ + '--coverageProvider[Select between Babel and V8 to collect coverage]:choices:(babel v8)' \ + '--coverageReporters[A list of reporter names that Jest uses when writing coverage reports]:array' \ + '--coverageThreshold[A JSON string with which will be used to configure minimum threshold enforcement for coverage results]:string' \ + '--debug[Print debugging info about your jest config]' \ + '--detectLeaks[**EXPERIMENTAL**: Detect memory leaks in tests]' \ + '--detectOpenHandles[Print out remaining open handles preventing Jest from exiting at the end of a test run]' \ + '(--env --testEnvironment)'{--env,--testEnvironment}'[The test environment used for all tests]:files:_files' \ + '--errorOnDeprecated[Make calling deprecated APIs throw helpful error messages]' \ + '(-e --expand)'{-e,--expand}'[Use this flag to show full diffs instead of a patch]' \ + '--filter[Path to a module exporting a filtering function]:string' \ + '--findRelatedTests[Find related tests for a list of source files that were passed in as arguments]' \ + '--forceExit[Force Jest to exit after all tests have completed running]' \ + '--globalSetup[The path to a module that runs before All Tests]:files:_files' \ + '--globalTeardown[The path to a module that runs after All Tests]:files:_files' \ + '--globals[A JSON string with map of global variables that need to be available in all test environments]:string' \ + '--haste[A JSON string with map of variables for the haste module system]:string' \ + '--ignoreProjects[Ignore the tests of the specified projects]:array' \ + '--injectGlobals[Should Jest inject global variables or not]' \ + '--json[Print the test results in JSON]' \ + '--lastCommit[Run all tests affected by file changes in the last commit made]' \ + '--listTests[List all tests Jest will run given the arguments and exits]' \ + '--logHeapUsage[Log the heap usage after every test]' \ + '--maxConcurrency[Specify the maximum number of tests that are allowed to run concurrently]:number' \ + '(-w --maxWorkers)'{-w,--maxWorkers}'[Maximum number of workers will spawn for running tests]:string' \ + "--moduleDirectories[Directories to be searched from the requiring module's location]:dir:_files -/" \ + '--moduleFileExtensions[An array of file extensions your modules use]:array' \ + '--moduleNameMapper[A JSON string with a map from regular expressions to module names]:string' \ + '--modulePathIgnorePatterns[An array of ignore module pattern]:array' \ + '--modulePaths[An array of absolute paths to search modules]:directories:_files -/' \ + '--noStackTrace[Disable stack trace in test results output]' \ + '--notify[Activate notifications for test results]' \ + '--notifyMode[Specify notification mode for test results]:mode:($notify_modes)' \ + '(-o --onlyChanged)'{-o,--onlyChanged}'[Attempt to identify which tests to run based on which files have changed in the current repository]' \ + '(-f --onlyFailures)'{-f,--onlyFailures}'[Run tests that failed in the previous execution]' \ + '--openHandlesTimeout[Timeout msecs for open handle warnings]:number' \ + '--outputFile[Output file name of test results]:files:_files' \ + '--passWithNoTests[Will not fail if no tests are found]' \ + "--preset[A preset that is used as a base for Jest's configuration]:string" \ + '--prettierPath[The path to the "prettier" module used for inline snapshots]:string' \ + '--projects[Projects that use Jest to run all tests of all projects in a single instance]:array' \ + '--randomize[Shuffle the order of the tests within a file]' \ + '--reporters[A list of custom reporters for the test suite]:array' \ + '--resetMocks[Automatically reset mock state before every test]' \ + '--resetModules[The module registry for every test file will be reset before running each test]' \ + '--resolver[A JSON string which allows the use of a custom resolver]:string' \ + '--restoreMocks[Automatically restore mock state and implementation before every test]' \ + '--rootDir[The root directory that Jest should scan for tests and modules]:dir:_files -/' \ + '--roots[A list directories that Jest should use to search for files in]:array:_files -/' \ + '(-i --runInBand)'{-i,--runInBand}'[Run all tests serially in the current process]' \ + '--runTestsByPath[Used when provided patterns are exact file paths]' \ + "--runner[Use a custom runner instead of Jest's default test runner]:string" \ + '--seed[Set a seed value that can be retrieved in a tests file via "jest.getSeed()"]:number' \ + '--selectProjects[Run the tests of the specified projects]:array' \ + '--setupFiles[Module paths that configure or set up the testing environment before each test]:files:_files' \ + '--setupFilesAfterEnv[Module paths that configure or set up the testing framework before each test]:files:_files' \ + '--shard[Shard tests and execute only the selected shard]:shard' \ + '--showConfig[Print your jest config and then exits]' \ + '--showSeed[Print the seed value in the test report summary]' \ + '--silent[Prevent tests from printing messages through the console]' \ + '--skipFilter[Disable the filter provided by --filter]' \ + '--snapshotSerializers[Paths of snapshot serializer modules for snapshot testing]:files:_files' \ + '--testEnvironmentOptions[Options that will be passed to the "testEnvironment"]:string' \ + '--testFailureExitCode[Exit code of "jest" command if the test run failed]:string' \ + '--testLocationInResults[Add "location" information to the test results]' \ + '--testMatch[The glob patterns Jest uses to detect test files]:array' \ + '(-t --testNamePattern)'{-t,--testNamePattern}'[Run only tests with a name that matches the regex pattern]:string' \ + '--testPathIgnorePatterns[Regexp patterns for ignoring tests]:array' \ + '--testPathPatterns[Regexp patterns for executing tests]:array' \ + '--testRegex[Regexp patterns that Jest uses to detect test files]:array' \ + '--testResultsProcessor[Specify a custom results processor]:string' \ + '--testRunner[Specify a custom test runner]:string' \ + '--testSequencer[Specify a custom test sequencer]:string' \ + '--testTimeout[Default timeout of test cases]:number' \ + '--transform[A JSON string which maps from regular expressions to paths to transformers]:string' \ + '--transformIgnorePatterns[Ignore regexp patterns for transformation]:array' \ + '--unmockedModulePathPatterns[Regexp patterns for unmocked modules]:array' \ + '(-u --updateSnapshot)'{-u,--updateSnapshot}'[Re-record snapshots]' \ + '--useStderr[Divert all output to stderr]' \ + '--verbose[Display individual test results with the test suite hierarchy]' \ + '--waitForUnhandledRejections[Give one event loop turn to handle unhandles rejections]' \ + '--watch[Watch files for changes and rerun tests related to changed files]' \ + '--watchAll[Watch files for changes and rerun all tests]' \ + '--watchPathIgnorePatterns[Ignore patterns of watch path]:array' \ + '(--watchman --no-watchman)--watchman[Use watchman for file crawling]' \ + '(--watchman --no-watchman)--no-watchman[Do not use watchman for file crawling]' \ + '--workerThreads[Use worker threads for parallelization]' \ '*: :->file' \ && ret=0