Added script to list parameters
This commit is contained in:
parent
32e95b2efa
commit
1e62bc3fba
2 changed files with 9 additions and 2 deletions
8
cliargs.sh
Executable file
8
cliargs.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
java -cp "lib/compile/*:examples/lib/bld/*" io.gitlab.arturbosch.detekt.cli.Main --help |\
|
||||
grep "^ --.*" |\
|
||||
sed -e "s/ /\"/" -e "s/, .*//" -e "s/$/\",/" -e '/version/d' -e '/help/d' |\
|
||||
sort |\
|
||||
sed -e '$s/,//'
|
||||
|
|
@ -63,8 +63,8 @@ class DetektOperationTest {
|
|||
var params = List.of(
|
||||
"--all-rules",
|
||||
"--auto-correct",
|
||||
"--base-path",
|
||||
"--baseline",
|
||||
"--base-path",
|
||||
"--build-upon-default-config",
|
||||
"--classpath",
|
||||
"--config",
|
||||
|
@ -78,7 +78,6 @@ class DetektOperationTest {
|
|||
"--input",
|
||||
"--jdk-home",
|
||||
"--jvm-target",
|
||||
"--language-version",
|
||||
"--max-issues",
|
||||
"--parallel",
|
||||
"--plugins",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue