{"id":15502468,"url":"https://github.com/matsubara0507/octbook","last_synced_at":"2025-06-12T13:36:33.019Z","repository":{"id":93508750,"uuid":"221712656","full_name":"matsubara0507/octbook","owner":"matsubara0507","description":"Invite GitHub Organizations or GitHub Organizations Team by config","archived":false,"fork":false,"pushed_at":"2019-11-19T06:29:13.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T18:47:00.969Z","etag":null,"topics":["haskell-application"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/matsubara0507.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-11-14T14:10:21.000Z","updated_at":"2019-11-19T06:28:24.000Z","dependencies_parsed_at":"2023-04-06T23:50:10.998Z","dependency_job_id":null,"html_url":"https://github.com/matsubara0507/octbook","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.2777777777777778,"last_synced_commit":"8c0e9c8031f79eacba939b70f43b4cfc075df01e"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Foctbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Foctbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Foctbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Foctbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsubara0507","download_url":"https://codeload.github.com/matsubara0507/octbook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246076949,"owners_count":20719895,"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":["haskell-application"],"created_at":"2024-10-02T09:09:56.716Z","updated_at":"2025-03-28T18:21:31.064Z","avatar_url":"https://github.com/matsubara0507.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octbook\n\n![](https://github.com/matsubara0507/octbook/workflows/Build/badge.svg)\n\nInvite GitHub Organizations or GitHub Organizations Team by config YAML:\n\n```yaml\n- id: matsubara0507\n  name: MATSUBARA Nobutada\n  org: IGGG\n  teams: []\n- id: octcat\n  name: Octcat\n  org: github\n  teams:\n  - developer\n```\n\n## Requirement\n\nDocker or Haskell Stack\n\n## Usage\n\n```\n$ octbook --help\noctbook [options] [input-file]\n  -h  --help               Show this help text\n      --version            Show version\n  -v  --verbose            Enable verbose mode: verbosity level \"debug\"\n      --users=IDS          Filter users\n      --teams=IDS          Filter teams\n      --invite=(org|team)  Invite user to GitHub Org or Team\n      --kick=(org|team)    Kick user from GitHub Org or Team\n```\n\n### Invite Organization\n\n```\n$ octbook --invite=org --users=matsubara0507 path/to/.octbook.yaml\n```\n\n### Kick Organization\n\n```\n$ octbook --kick=org --users=matsubara0507 path/to/.octbook.yaml\n```\n\n### Invite Organization Team\n\n```\n$ octbook --kick=team --users=matsubara0507 --teams=Sample path/to/.octbook.yaml\n```\n\n### Kick Organization Team\n\n```\n$ octbook --kick=team --users=matsubara0507 --teams=Sample path/to/.octbook.yaml\n```\n\n### Docker\n\nuse [matsubara0507/octbook](https://github.com/matsubara0507/octbook/packages)\n\n```\n$ docker run -v `pwd`:/work docker.pkg.github.com/matsubara0507/octbook/cli --help\n```\n\n## Build\n\n```\n$ stack build\n```\n\n### Docker\n\n```\n$ stack --docker build -j 1 Cabal # if out of memory in docker\n$ stack --docker --local-bin-path=./bin install\n$ docker build -t matsubara0507/octbook . --build-arg local_bin_path=./bin\n```\n\nor\n\n```\n$ make image tag=matsubara0507/octbook\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Foctbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsubara0507%2Foctbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Foctbook/lists"}