--show-supported-languages
- Accepted by
opengrep scan- See also
--lang,opengrep show,--version,languages
Prints the names of the languages that Opengrep supports, and exits without scanning. These are the names that the languages of a rule and -l/--lang accept, aliases included: python, py and python3 name the same language.
opengrep show supported-languages prints the same list.
Examples
The supported languages
Command and result
$ opengrep scan --show-supported-languages
supported languages are: apex, bash, c, c#, c++, cairo, circom, clojure, cpp, crystal, csharp, dart, docker, dockerfile, elixir, ex, generic, go, golang, hack, hcl, html, java, javascript, js, json, jsonnet, julia, kotlin, kt, lisp, lua, move_on_aptos, move_on_sui, none, ocaml, php, promql, proto, proto3, protobuf, py, python, python2, python3, ql, r, regex, ruby, rust, scala, scheme, sh, sol, solidity, swift, terraform, tf, ts, typescript, vb, vue, xml, yaml