How to pass CLA in IntelliJ IDEA?
How to pass command line arguments (CLA) in IntelliJ IDEA?
- Go to the toolbar on the top left corner and choose Run.
- Choose Run Configuration.
- Click + on the top left corner and choose Application.
- In Build and run, modify your configuration, i.e. Main class and Program arguments (The Program arguments here is not limited to CLA).
Now it is done!