{"id":36441835,"url":"https://github.com/cgxarrie-go/prq","last_synced_at":"2026-01-11T21:59:42.683Z","repository":{"id":117644294,"uuid":"588164885","full_name":"cgxarrie-go/prq","owner":"cgxarrie-go","description":"List and create pull requests in Azure and Github","archived":false,"fork":false,"pushed_at":"2024-12-30T08:50:04.000Z","size":2112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T11:57:01.211Z","etag":null,"topics":["azure","command-line","create","git","github","list","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cgxarrie-go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-12T13:35:46.000Z","updated_at":"2024-12-30T08:48:05.000Z","dependencies_parsed_at":"2024-10-25T10:54:58.287Z","dependency_job_id":"1af1b977-600c-4377-a1cc-a4515f36b79b","html_url":"https://github.com/cgxarrie-go/prq","commit_stats":null,"previous_names":["cgxarrie-go/prcli","cgxarrie-go/pr-cli"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/cgxarrie-go/prq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxarrie-go%2Fprq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxarrie-go%2Fprq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxarrie-go%2Fprq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxarrie-go%2Fprq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgxarrie-go","download_url":"https://codeload.github.com/cgxarrie-go/prq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgxarrie-go%2Fprq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","command-line","create","git","github","list","pull-requests"],"created_at":"2026-01-11T21:59:42.185Z","updated_at":"2026-01-11T21:59:42.677Z","avatar_url":"https://github.com/cgxarrie-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prq\nInteraction with pull requests from command line\nList and create PRs in Azure or Github repositories\n\n\n## Installation\n\n- Install the binaries\n```bash\ngo install github.com/cgxarrie-go/prq@latest\n```\n\n- Clone the repository, build the binaries and move them to your PATH\n```bash\ngit clone https://github.com/cgxarrie-go/prq.git\ncd prq\ngo build\n```\n\n- Download the binaries the [latest release](https://github.com/cgxarrie-go/prq/releases/latest) into ypur PATH and rename them to prq\n    \n\n## Usage\n\n### Config commands\n- prq config : display config\n\n#### modifiers\n- prq config az -pat : set PAT in Azure config\n- prq config az -branch : set the default PRs target branch in Azure config\n- prq config gh -pat : set PAT in Github config\n- prq config gh -branch : set the default PRs target branch in Github config\n- prq config remotes -a **remote** : Add a remote to config\n- prq config remotes -r **remote** : Remove remote from config\n\n### List PR command\nList will list all active PRs in the remote of the current folder's local git \nrepository (Azure ot Github)\n\n- prq list : Lists all PR in status Active in the repository in the current directory\n\n#### modifiers\n-o : select repositories to get PRs from\n    - d : Lists all PR in status Active in all the repositories found in the current directory tree\n    - c : Lists all PR in status Active in all the repositories in config remotes\n\n-f : filter PRs by title, author or status\n\n### Create PR command \n- prq create : creates a draft PR from current branch to default destination \nbrnach with default title\n\ndefault destination branch is **master** in Azure and **main** in Github\ndeafult title is **PR from spurce-branch-name to destination-branch-name**\n\n#### modifiers\n-g : specify target brnach of the PR\n-t : set the title of the PR\n-f : specify if PR is draft. Default is true\n-d : PR decription\n-m: template file to be added to PR description\n\n- prq create -d **branchname** : creates a draft PR from current branch to **branchname** with default title\n- prq create -t **pr-title** : crecreates a draft PR from current branch to default destination branch with title **pr-title**\n- prq create  -d **branchname** -t **pr-title** : crecreates a draft PR from current branch to **branchname** with title **pr-title**\n\n### Open PR command\nOpen will open the PR in the default browser\n\n- prq open **pr_id**: Open the PR with id **pr_id** in the default browser\n- prq o **pr_id**: Open the PR with id **pr_id** in the default browser\n\n### Open remote repository code command\ncode will open the current folder repository in the default browser\n\n- prq code\n- prq d","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgxarrie-go%2Fprq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgxarrie-go%2Fprq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgxarrie-go%2Fprq/lists"}