]> nmode's Git Repositories - signal-cli/blobdiff - build.gradle
Short comment to explain how to pass arguments to main application
[signal-cli] / build.gradle
index 37f97ce5146254dac9ebbfb905d5c5912df70536..3354d30ee6c6756001140be79900bac1d767e13b 100644 (file)
@@ -38,6 +38,8 @@ jar {
 
 run {
     if (project.hasProperty("appArgs")) {
+        // allow passing command-line arguments to the main application e.g.:
+        // $ gradle run -PappArgs="['-u', '+...', 'daemon', '--json']"
         args Eval.me(appArgs)
     }
 }