From: Riamse Date: Wed, 16 May 2018 02:29:04 +0000 (-0400) Subject: Short comment to explain how to pass arguments to main application X-Git-Tag: v0.6.1~25 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/70c810ff177ab6a1e2e37093655e6feb94796d04 Short comment to explain how to pass arguments to main application --- diff --git a/build.gradle b/build.gradle index 37f97ce5..3354d30e 100644 --- a/build.gradle +++ b/build.gradle @@ -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) } }