Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JVM

detekt

https://detekt.dev/docs/gettingstarted/cli/

  • Allowed standalone flags: –build-upon-default-config, –debug, –help, –parallel, –version, -V, -h
  • Allowed valued flags: –baseline, –classpath, –config, –config-resource, –excludes, –includes, –input, –jvm-target, –language-version, –plugins, –report
  • Bare invocation allowed

gradle

https://docs.gradle.org/current/userguide/command_line_interface.html

Aliases: gradlew

  • build: Flags: –build-cache, –configure-on-demand, –console, –continue, –dry-run, –help, –info, –no-build-cache, –no-daemon, –no-parallel, –no-rebuild, –parallel, –profile, –quiet, –rerun-tasks, –scan, –stacktrace, –warning-mode, -h, -q. Valued: –exclude-task, –max-workers, -x
  • check: Flags: –build-cache, –configure-on-demand, –console, –continue, –dry-run, –help, –info, –no-build-cache, –no-daemon, –no-parallel, –no-rebuild, –parallel, –profile, –quiet, –rerun-tasks, –scan, –stacktrace, –warning-mode, -h, -q. Valued: –exclude-task, –max-workers, -x
  • dependencies: Flags: –console, –help, –info, –no-rebuild, –quiet, –stacktrace, –warning-mode, -h, -q. Valued: –configuration
  • properties: Flags: –console, –help, –info, –no-rebuild, –quiet, –stacktrace, –warning-mode, -h, -q
  • tasks: Flags: –all, –console, –help, –info, –no-rebuild, –quiet, –stacktrace, –warning-mode, -h, -q. Valued: –group
  • test: Flags: –build-cache, –configure-on-demand, –console, –continue, –dry-run, –help, –info, –no-build-cache, –no-daemon, –no-parallel, –no-rebuild, –parallel, –profile, –quiet, –rerun-tasks, –scan, –stacktrace, –warning-mode, -h, -q. Valued: –exclude-task, –max-workers, -x
  • Allowed standalone flags: –help, –version, -V, -h

jar

https://docs.oracle.com/en/java/javase/21/docs/specs/man/jar.html

  • List mode only: tf, tvf, –list, -t. Also –version, –help.

jarsigner

https://docs.oracle.com/en/java/javase/21/docs/specs/man/jarsigner.html

  • Requires -verify. - Allowed standalone flags: -certs, -strict, -verbose, -verify, -help, -h

javap

https://docs.oracle.com/en/java/javase/21/docs/specs/man/javap.html

  • Allowed standalone flags: –help, –version, -V, -c, -constants, -h, -l, -p, -private, -protected, -public, -s, -sysinfo, -v, -verbose
  • Allowed valued flags: –module, -bootclasspath, -classpath, -cp, -m

keytool

https://docs.oracle.com/en/java/javase/21/docs/specs/man/keytool.html

  • -list: Flags: –help, -h, -rfc, -v. Valued: -alias, -keystore, -storepass, -storetype
  • -printcert: Flags: –help, -h, -rfc, -v. Valued: -file, -jarfile
  • Allowed standalone flags: –help, –version, -V, -h

ktlint

https://pinterest.github.io/ktlint/latest/

  • Allowed standalone flags: –color, –color-name, –help, –relative, –verbose, –version, -V, -h
  • Allowed valued flags: –editorconfig, –reporter
  • Bare invocation allowed

mvn / mvnw

https://maven.apache.org/ref/current/maven-embedder/cli.html

  • Phases: compile, dependency:list, dependency:tree, help:describe, test, test-compile, validate, verify.