scalameta / sbt-native-image

Plugin to generate native-image binaries with sbt
251 stars 22 forks source link

Need a way to specify parameters for app when using nativeImageRunAgent #28

Closed bilal-fazlani closed 3 years ago

bilal-fazlani commented 3 years ago

Describe the bug

Currently when trying to run the agent, it seems there is no way to specify a parameter for the app. If the app requires mandatory arguments, then I can't use this command.

To Reproduce Steps to reproduce the behavior:

  1. Run command nativeImageRunAgent
  2. Add some parameters after it

Expected behavior

Any arguments after nativeImageRunAgent should be passed to the app.

Screenshots

image

Installation:

bilal-fazlani commented 3 years ago

Looking at #22 , I was able to send the arguments to the app using

nativeImageRunAgent " input.json"
bilal-fazlani commented 3 years ago

closing as duplicate of #22