mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Short comment to explain how to pass arguments to main application
This commit is contained in:
parent
fbbd194e40
commit
70c810ff17
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ jar {
|
||||||
|
|
||||||
run {
|
run {
|
||||||
if (project.hasProperty("appArgs")) {
|
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)
|
args Eval.me(appArgs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue