arduino command line open a file!!?!

Yes thats what I mean. The IDE should start and open my pde file for editing. Then I can associate .pde files with arduino. Then I can double click .pde files in my file manager / shell and arduino will launch and open the file. For editing. Thats all I want.

Thanks for the tips.. looks like java processing.app.Base is what gets invocated.. I'll check it out.