Added completion for --console Gradle option.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 13 Jan 2020 14:00:42 +0200
changeset 936 7c8a97e5273d
parent 935 79dd24c983f5
child 937 a2beae97e3d8
Added completion for --console Gradle option.
.bash_completion.d/gradle
--- a/.bash_completion.d/gradle	Mon Jan 13 13:25:00 2020 +0200
+++ b/.bash_completion.d/gradle	Mon Jan 13 14:00:42 2020 +0200
@@ -20,6 +20,7 @@
      -q --quiet -r --properties -s --stacktrace -t --tasks -u --no-search-upward -v --version -x --exclude-task \
      --continue --foreground --no-color --project-cache-dir --include-build --recompile-scripts --refresh --refresh-dependencies \
      --fail-fast \
+     --console \
      --daemon --no-daemon --offline --build-cache --parallel --parallel-threads --profile --status \
      --rerun-tasks --stop"
   local _application_cmds='run startScripts installApp distZip distTar'
@@ -96,6 +97,9 @@
         dependencies|dependencyInsight)
           COMPREPLY=( --configuration )
           IFS=$OIFS; return ;;
+        --console)
+          COMPREPLY=( $(compgen -W "auto plain rich verbose" -- "$cur") )
+          IFS=$OIFS; return ;;
       esac
   fi