Change pull requests api to arguments parser.