get token from cmd line