Command line argument

Sir these are questions in mind
1.command line argument ka benfit kya hai?
2.kya hum command line argument ko main function me hi declare karte hai?
3.command line ko vs code bhi kaise implement kare?