Extract console command parsing