mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-03 14:14:22 +01:00
Short comment to explain how to pass arguments to main application
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user