{"id":20691486,"url":"https://github.com/pankajpatel/list-repos","last_synced_at":"2025-04-22T17:04:01.278Z","repository":{"id":9455150,"uuid":"61563952","full_name":"pankajpatel/list-repos","owner":"pankajpatel","description":"List all the repos, their HEADs and clean status in the Current Directory or the Supplied Directory","archived":false,"fork":false,"pushed_at":"2025-04-15T19:32:32.000Z","size":434506,"stargazers_count":16,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T05:44:25.021Z","etag":null,"topics":["cli","git","hacktoberfest","node","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pankajpatel.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}},"created_at":"2016-06-20T16:42:51.000Z","updated_at":"2025-04-15T19:31:13.000Z","dependencies_parsed_at":"2024-05-03T22:41:20.581Z","dependency_job_id":"71ca623f-056b-4d1e-abfc-a70cf59b71e7","html_url":"https://github.com/pankajpatel/list-repos","commit_stats":{"total_commits":713,"total_committers":12,"mean_commits":"59.416666666666664","dds":0.2328190743338009,"last_synced_commit":"d8a401388493066139d27e6534376ecd67030a88"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pankajpatel%2Flist-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pankajpatel%2Flist-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pankajpatel%2Flist-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pankajpatel%2Flist-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pankajpatel","download_url":"https://codeload.github.com/pankajpatel/list-repos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249526130,"owners_count":21286164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","git","hacktoberfest","node","typescript"],"created_at":"2024-11-16T23:16:59.050Z","updated_at":"2025-04-22T17:04:01.235Z","avatar_url":"https://github.com/pankajpatel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# List Repos (list-repos)\n\n[![Code Climate](https://codeclimate.com/github/pankajpatel/list-repos/badges/gpa.svg)](https://codeclimate.com/github/pankajpatel/list-repos) [![Issue Count](https://codeclimate.com/github/pankajpatel/list-repos/badges/issue_count.svg)](https://codeclimate.com/github/pankajpatel/list-repos) [![Test Coverage](https://codeclimate.com/github/pankajpatel/list-repos/badges/coverage.svg)](https://codeclimate.com/github/pankajpatel/list-repos/coverage)\n\nThis utility lists the current active branch on repos present in specified directory. By default it takes the current directory\n\nRead more at [time2hack.com/introducing-list-repos](https://time2hack.com/introducing-list-repos)\n\nTo install the utility, simply do\n\n```\nnpm install -g list-repos\n```\n\nAnd in few seconds(or minutes), it should be installed. If it gives error of Access rights, try with `sudo` and after you enter the password for `sudo`, it should install normally.\n\nTo use the utility, type following on CLI,\n\n```\n# Check for the current active branch on repos present in parent directory\nlist-repos ../\n```\n\nYou can pass the following arguments:\n\n| **Parameter** | **Shorthand** | **Description**                                      |\n| ------------- | ------------- | ---------------------------------------------------- |\n| `--version`   | `-v`          | Version                                              |\n| `--help`      | `-h`          | Help                                                 |\n| `--ignore`    | `-i`          | Ignore matching substring                            |\n| `--match`     | `-m`          | Only matching substring                              |\n| `--gitonly`   | `-g`          | Show only git repos                                  |\n| `--attention` | `-a`          | Show repos which only needs attention                |\n| `--simple`    | `-s`          | Simple Output                                        |\n| `--compact`   | `-c`          | Compactness; no value = Low; `=s` Medium; `=so` High |\n\nAnd will comeup with this output:\n\n![list-repos](https://cloud.githubusercontent.com/assets/251937/24815833/e7e32bd8-1bd6-11e7-8d80-dad4f3ce7eef.png)\n\nThere are several other options for output like:\n\n- `--git-only` or `-g`\n\nShow only git repos\n\n![list-repos -g](https://cloud.githubusercontent.com/assets/251937/24815831/e7c6e9be-1bd6-11e7-885b-b71ae70aa692.png)\n\n- `--attention` or `-a`\n\nShow all directories which requires attention, includes non-git\n\n![list-repos -a](https://cloud.githubusercontent.com/assets/251937/24815828/e7c13e9c-1bd6-11e7-8906-2a8dbaacf3bf.png)\n\n- `--attention --git-only` or `-ag`\n\nShow all git repos which requires attention\n\n![list-repos -ag](https://cloud.githubusercontent.com/assets/251937/24815827/e7c0dba0-1bd6-11e7-95ef-f0b708bfe94d.png)\n\n- `--compact` or `-c`\n\nShow compact table output\n\n![list-repos -c](https://cloud.githubusercontent.com/assets/251937/24815826/e7c0dcc2-1bd6-11e7-8e8d-def1dbaf1012.png)\n\n- `--compact=s` or `-c=s`\n\nShow compact table output and short table headers and header description at the bottom\n\n![list-repos -c=s](https://cloud.githubusercontent.com/assets/251937/24815829/e7c337ec-1bd6-11e7-8b7f-99b9317639fd.png)\n\n- `--compact=so` or `-c=so`\n\nShow compact table output and short table headers and no header description at the bottom\n\n![list-repos -c=so](https://cloud.githubusercontent.com/assets/251937/24815830/e7c46a7c-1bd6-11e7-8b08-456f31485287.png)\n\n- `--simple` or `-s`\n\nShow simple comma and new line separated output;\n\norder of values is `dir`, `branch`, `ahead`, `dirty`, `untracked`, `stashes`\n\n![list-repos -s](https://cloud.githubusercontent.com/assets/251937/24815832/e7e3154e-1bd6-11e7-97e4-fa5f553f54b2.png)\n\n- `--help` or `-h`\n\nShow help\n\n- `--version` or `-v`\n\nShow version of the utility\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpankajpatel%2Flist-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpankajpatel%2Flist-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpankajpatel%2Flist-repos/lists"}