Switch command with args to command struct