{"id":17132841,"url":"https://github.com/lazee/gitlr","last_synced_at":"2025-03-24T05:41:47.888Z","repository":{"id":22601981,"uuid":"25944085","full_name":"lazee/gitlr","owner":"lazee","description":"A Command Line Interface for querying and managing your GitHub organisation","archived":false,"fork":false,"pushed_at":"2015-11-12T14:24:46.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T11:27:52.002Z","etag":null,"topics":["github-api"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/lazee.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}},"created_at":"2014-10-29T22:21:31.000Z","updated_at":"2018-02-09T12:09:29.000Z","dependencies_parsed_at":"2022-08-21T07:31:13.380Z","dependency_job_id":null,"html_url":"https://github.com/lazee/gitlr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazee%2Fgitlr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazee%2Fgitlr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazee%2Fgitlr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazee%2Fgitlr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lazee","download_url":"https://codeload.github.com/lazee/gitlr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217792,"owners_count":20579297,"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":["github-api"],"created_at":"2024-10-14T19:28:32.553Z","updated_at":"2025-03-24T05:41:47.862Z","avatar_url":"https://github.com/lazee.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"gitlr\n=====\n\nA Command Line Interface for managing and analyzing GitHub repositories within an organization.\n\nThis is work in progress : Features will be added upon request or when needed by me.\n\nInstall\n-------\n```\nbundle install \n```\n\nConfig\n------\nYou need to configure your organization at Github in the file ~/.config/gitlr/config.yaml\n\n```\norganization: \u003cORGANIZATION\u003e\n```\n\nAnd you also need to setup GitHub login in your ~/.netrc file:\n\n```\nmachine api.github.com\n  login defunkt\n  password \u003cYOUR PERSONAL ACCESS TOKEN CREATED ON GITHUB.COM\u003e\n```\n\n\nRun\n---\n```\nbundle exec bin/gitlr\n```\n\nExamples\n--------\n\nPrint ids for all projects within your organization that has Java as its main language\n```\nbundle exec bin/gitlr --format=id query org repos --language_filter java\n```\n\nPretty print all projects within your organization that has Java as its main language\n```\nbundle exec bin/gitlr --format=pretty query org repos --language_filter java\n```\n\nCSV print all teams within your organization without CSV-header\n```\nbundle exec bin/gitlr --no-header --format=pretty query org teams\n```\n\nGit clone all the Java repositories within your organization:\n```\nfor a in `gitlr --format id query org repos --include_all_languages --language_filter java`; do git clone git@github.com:$a.git; done\n```\n\nRun gitlr for a full overview of all the available features...\n\n\n\nUseful resources\n----------------\n * http://www.rubydoc.info/github/pengwynn/octokit/\n * http://www.ruby-doc.org/core-2.1.4/\n * http://bundler.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazee%2Fgitlr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazee%2Fgitlr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazee%2Fgitlr/lists"}