0

we have a compiled java binary i.e. file.jar and this jar takes a command as a parameter such as file1.jar command1 and in addition each command takes command parameters such as file1.jar command1 -p1=value -p2=value

we want to get a list of parameters for each command and use that in another codebase.

is there any way to get list of commands and its parameters from the compiled java binary programmatically a bit like how reflection is done in .NET?

thanks in advance.

user1144596
  • 2,068
  • 8
  • 36
  • 56

0 Answers0