Parse arguments in console and assign action