This should be very simple but I am not sure why its not working. I am trying pass arguments with a name (So I can pass arguments in any order) using the apache commons CLI library but It seems to be not working. I want to pass the arguments from eclipse IDE. I know this part is not the problem
Tag: command-line-interface
command line argument with variable name in java in specific format
I am trying to get a CLI for my class in the format of java demo –age 20 –name Amr –school Academy_of_technology –course CS how do I achieve this. I saw one of the solutions and tried that over here Command Line Arguments with variable name but the above code’s input format was like javac demo –age=20 –name=Amar school=AOT course=CS