{"id":21700547,"url":"https://github.com/helaili/octocli","last_synced_at":"2025-07-28T08:07:22.610Z","repository":{"id":78363880,"uuid":"115015085","full_name":"helaili/octocli","owner":"helaili","description":"A CLI for GitHub","archived":false,"fork":false,"pushed_at":"2018-06-20T07:27:28.000Z","size":81,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T13:57:46.766Z","etag":null,"topics":["cli","github"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helaili.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":"2017-12-21T14:35:32.000Z","updated_at":"2023-02-01T07:37:54.000Z","dependencies_parsed_at":"2023-03-08T22:00:14.434Z","dependency_job_id":null,"html_url":"https://github.com/helaili/octocli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/helaili/octocli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Foctocli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Foctocli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Foctocli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Foctocli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helaili","download_url":"https://codeload.github.com/helaili/octocli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Foctocli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267482004,"owners_count":24094508,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","github"],"created_at":"2024-11-25T20:14:37.495Z","updated_at":"2025-07-28T08:07:22.602Z","avatar_url":"https://github.com/helaili.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/helaili/octocli.svg?branch=master)](https://travis-ci.org/helaili/octocli)\n\n\n# octocli\nA CLI for GitHub\n\nCurrent commands include:\n\n- Orgs\n  - List every org a user belongs to\n  - List every orgs (GHE)\n- Teams\n  - List every teams of an org\n  - Create a team\n  - Add a member to a team\n  - List every member of a team\n  - List every repository of a team\n\n### Installation:\n\n- Download [here](https://github.com/helaili/octocli/releases) an officilal release and unzip it,\n\nor \n\n- Retriveve the latest development version with the command :point_down: \n\n```\ngo get github.com/helaili/octocli\n```\n\n### Usage:\nList every org on a GitHub Enterprise server:\n\n```\noctocli org list -s octodemo.com\n```\n\nList every org user `monalisa` belongs to:\n\n```\noctocli org list --login monalisa\n```\n\nAdd users `monalisa` and `hubot` as maintainers to the `developers` team within the `OctoCheese` organization\n\n```\noctocli team members add -o OctoCheese -t developers -r maintainer monalisa hubot\n```\n\nMore information with `octocli --help`\n\n```\nUsage:\n  octocli [command]\n\nAvailable Commands:\n  help        Help about any command\n  org         Base for various GitHub Organizations related commands\n  team        Base for various team related commands\n\nFlags:\n      --config string   config file (default is $HOME/.octocli.yaml)\n  -h, --help            help for octocli\n  -s, --server string   Hostname of the GitHub Enterprise server. Using github.com if omitted (default \"github.com\")\n  -k, --token string    personal authentication token to use. Required when environement variable GITHUB_AUTH_TOKEN is not set\n\nUse \"octocli [command] --help\" for more information about a command.\n```\n\n### Contribute\n\nHave a look at `release.sh`\n\nRun tests:\n\n```\ngo test ./...\n```\n\n\nAdd a new `dosmthg` command\n\n```\ncobra add dosmthg\n```\n\nAdd a sub command `mysubdosmthg` in `dosmthg`\n\n\n```\ncobra add mysubdosmthg -p 'dosmthgCmd'\n```\n\nMore info about this [here](https://github.com/spf13/cobra/blob/master/cobra/README.md) and [here](https://github.com/spf13/cobra/blob/master/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelaili%2Foctocli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelaili%2Foctocli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelaili%2Foctocli/lists"}