#compdef kdesrc-build kde-builder

# Autogenerated by gen_zsh_completions.py. Do not edit it manually.
# See https://docs.kde.org/trunk5/en/kdesrc-build/kdesrc-build/supported-cmdline-params.html for description of options

_arguments \
  "(--dependency-tree --dependency-tree-fullpath)"{--dependency-tree,--dependency-tree-fullpath}"[Print out dependency information on the modules that would be built]" \
  "(--src-only -S -s --no-src)"{--src-only,-S,-s,--no-src}"[Only perform/Skip update source code]" \
  "(--after --from --resume-after --resume-from -a -f)"{--after,--from,--resume-after,--resume-from,-a,-f}"[Skips modules until just before or after the given package, then operates as normal]"":::_kde-builder_modules" \
  "(--stop-after --stop-before --to --until)"{--stop-after,--stop-before,--to,--until}"[Stops just before or after the given package is reached]"":::_kde-builder_modules" \
  "(--debug --quiet --quite --really-quiet --verbose -q)"{--debug,--quiet,--quite,--really-quiet,--verbose,-q}"[Change the level of verbosity]" \
  "(--show-info --show-options-specifiers --version -v)"{--show-info,--show-options-specifiers,--version,-v}"[Script information]" \
  "(--metadata-only -M --no-metadata)"{--metadata-only,-M,--no-metadata}"[Only perform/Skip the metadata download process]" \
  "(--build-only --no-build)"{--build-only,--no-build}"[Only perform/Skip the build process.]" \
  "(--install-only --no-install)"{--install-only,--no-install}"[Only perform/Skip the install process]" \
  "(--include-dependencies --no-include-dependencies -D -d)"{--include-dependencies,--no-include-dependencies,-D,-d}"[Builds/Skip KDE-based dependencies]" \
  "(--async --no-async)"{--async,--no-async}"[Perform source update and build process in parallel]" \
  "--binpath""[Set the environment variable PATH while building]"":argument:" \
  "--branch-group""[General group from which you want modules to be chosen]"":argument:" \
  "--branch""[Checkout the specified branch]"":argument:" \
  "--build-dir""[The directory that contains the built sources]"":argument:" \
  "--build-system-only""[Abort building a module just before the make command]" \
  "(--build-when-unchanged --no-build-when-unchanged --force-build --no-force-build)"{--build-when-unchanged,--no-build-when-unchanged,--force-build,--no-force-build}"[Disable skipping the build process.]" \
  "--cmake-generator""[Which generator to use with CMake]"":argument:" \
  "--cmake-options""[Flags to pass to CMake when creating the build system for the module]"":argument:" \
  "--cmake-toolchain""[Specify a toolchain file to use with CMake]"":argument:" \
  "(--color --no-color --colorful-output --no-colorful-output)"{--color,--no-color,--colorful-output,--no-colorful-output}"[Toggle colorful output]" \
  "(--compile-commands-export --no-compile-commands-export)"{--compile-commands-export,--no-compile-commands-export}"[Generation of a compile_commands.json]" \
  "(--compile-commands-linking --no-compile-commands-linking)"{--compile-commands-linking,--no-compile-commands-linking}"[Creation of symbolic links from compile_commands.json to source directory]" \
  "--configure-flags""[Flags to pass to ./configure ]"":argument:" \
  "--custom-build-command""[Run a different command in order to perform the build process]"":argument:" \
  "--cxxflags""[Flags to use for building the module]"":argument:" \
  "(--delete-my-patches --no-delete-my-patches)"{--delete-my-patches,--no-delete-my-patches}"[Let kde-builder delete source directories that may contain user data]" \
  "(--delete-my-settings --no-delete-my-settings)"{--delete-my-settings,--no-delete-my-settings}"[Overwrite existing files which may contain user data]" \
  "--dest-dir""[The name a module is given on disk]"":argument:" \
  "--directory-layout""[Layout which kde-builder should use when creating source and build directories]"":argument:" \
  "(--disable-agent-check --no-disable-agent-check)"{--disable-agent-check,--no-disable-agent-check}"[Prevent ssh from asking for your pass phrase for every module]" \
  "--do-not-compile""[Select a specific set of directories not to be built in a module]"":argument:" \
  "--generate-config""[Installs a base kdesrc-buildrc]" \
  "(--generate-vscode-project-config --no-generate-vscode-project-config)"{--generate-vscode-project-config,--no-generate-vscode-project-config}"[Generate a vscode project config]" \
  "(--help -h)"{--help,-h}"[Displays help on commandline options]" \
  "--http-proxy""[Use specified URL as a proxy server for any HTTP network communications]"":argument:" \
  "(-! --ignore-modules)"{-!,--ignore-modules}"[Do not include specified modules in the update/build process]"":::_kde-builder_modules" \
  "--initial-setup""[Installs Plasma env vars (~/.bashrc), required system pkgs, and a base kdesrc-buildrc]" \
  "(--install-after-build --no-install-after-build)"{--install-after-build,--no-install-after-build}"[Install the package after it successfully builds]" \
  "--install-dir""[Where to install the module after it is built]"":argument:" \
  "--install-distro-packages""[Installs required system pkgs]" \
  "(--install-environment-driver --no-install-environment-driver)"{--install-environment-driver,--no-install-environment-driver}"[Install script to easily establish needed environment variables to run the built Plasma]" \
  "(--install-session-driver --no-install-session-driver)"{--install-session-driver,--no-install-session-driver}"[Install a driver for the graphical login manager]" \
  "--libname""[Default name of the installed library directory]"":argument:" \
  "--libpath""[Set the environment variable LD_LIBRARY_PATH while building]"":argument:" \
  "--list-installed""[Print installed modules and exit]" \
  "--log-dir""[Directory used to hold the log files generated by the script]"":argument:" \
  "--make-install-prefix""[A command and its options to precede the make install command used to install modules]"":argument:" \
  "--make-options""[Pass command line options to the make command]"":argument:" \
  "(--nice --niceness)"{--nice,--niceness}"[Priority kde-builder will set for itself]"":argument:" \
  "--ninja-options""[Pass command line options to the ninja build command]"":argument:" \
  "--no-tests""[Tests]" \
  "--num-cores-low-mem""[Set the number of CPUs that is deemed safe for heavyweight or other highly-intensive modules]"":argument:" \
  "--num-cores""[Set the number of available CPUs]"":argument:" \
  "--override-build-system""[Manually specify the correct build type]"":argument:" \
  "--persistent-data-file""[Change where kde-builder stores its persistent data]"":argument:" \
  "(--dry-run --pretend -p)"{--dry-run,--pretend,-p}"[Dont actually take major actions, instead describe what would be done]" \
  "(--purge-old-logs --no-purge-old-logs)"{--purge-old-logs,--no-purge-old-logs}"[Automatically delete old log directories]" \
  "--qmake-options""[Options passed to the qmake command]"":argument:" \
  "--qt-install-dir""[Where to install qt modules after build]"":argument:" \
  "--query""[Query a parameter of the modules in the build list]"":argument:" \
  "--rc-file""[Read configuration from filename instead of default]"":::_files" \
  "--rebuild-failures""[Only those modules which failed to build on a previous run.]" \
  "--reconfigure""[Run cmake or configure again, without cleaning the build directory]" \
  "(--refresh-build -r)"{--refresh-build,-r}"[Start the build from scratch]" \
  "--remove-after-install""[Delete the source and/or build directory after the module is successfully installed]"":argument:" \
  "--resume""[Resume after a build failure]" \
  "--revision""[Checkout a specific numbered revision]"":argument:" \
  "(--run-tests --no-run-tests)"{--run-tests,--no-run-tests}"[Built the modules with support for running their test suite]" \
  "--set-module-option-value""[Override an option in your configuration file for a specific module]"":argument:" \
  "--source-dir""[Directory that stores the KDE sources]"":argument:" \
  "(--stop-on-failure --no-stop-on-failure)"{--stop-on-failure,--no-stop-on-failure}"[Stops/Does not stop the build as soon as a package fails to build]" \
  "--tag""[Download a specific release of a module]"":argument:" \
  "--uninstall""[Uninstalls the module]" \
  "(--use-clean-install --no-use-clean-install)"{--use-clean-install,--no-use-clean-install}"[Run make uninstall directly before running make install]" \
  "(--use-idle-io-priority --no-use-idle-io-priority)"{--use-idle-io-priority,--no-use-idle-io-priority} \
  "(--use-inactive-modules --no-use-inactive-modules)"{--use-inactive-modules,--no-use-inactive-modules}"[Allow kde-builder to also clone and pull from repositories marked as inactive]" \
  \
  "*:: :_kde-builder_modules_and_module_sets"
