Samsara interview question

write a command line arg parser