I was hoping someone could enlighten me on how to parse command line arguments using a JUCE class such as the Argument List struct or the application command manager. I have been experimenting with these classes but can’t seem to figure out where to start other than there is a string in my main applications Initialise function that gives me all my command line arguments as a single string.
Does anyone know the most efficient way to parse command line arguments?
Please try to use getCommandLineParameterArray() which is a static method of JUCEApplicationBase
Edit: I mean this way you can get command line parameters everywhere in you program (not only in initialise) and then you can parse them as you want using external classes or invoking some actions directly.