Extract command line arguments handler