Invite GitHub Organizations or GitHub Organizations Team by config YAML:
- id: matsubara0507
name: MATSUBARA Nobutada
org: IGGG
teams: []
- id: octcat
name: Octcat
org: github
teams:
- developer
Docker or Haskell Stack
$ octbook --help
octbook [options] [input-file]
-h --help Show this help text
--version Show version
-v --verbose Enable verbose mode: verbosity level "debug"
--users=IDS Filter users
--teams=IDS Filter teams
--invite=(org|team) Invite user to GitHub Org or Team
--kick=(org|team) Kick user from GitHub Org or Team
$ octbook --invite=org --users=matsubara0507 path/to/.octbook.yaml
$ octbook --kick=org --users=matsubara0507 path/to/.octbook.yaml
$ octbook --kick=team --users=matsubara0507 --teams=Sample path/to/.octbook.yaml
$ octbook --kick=team --users=matsubara0507 --teams=Sample path/to/.octbook.yaml
$ docker run -v `pwd`:/work docker.pkg.github.com/matsubara0507/octbook/cli --help
$ stack build
$ stack --docker build -j 1 Cabal # if out of memory in docker
$ stack --docker --local-bin-path=./bin install
$ docker build -t matsubara0507/octbook . --build-arg local_bin_path=./bin
or
$ make image tag=matsubara0507/octbook