mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
Short comment to explain how to pass arguments to main application
This commit is contained in:
parent
58b762e575
commit
0c973e192f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue