sgi-cli
CLI tool for Sakamichi Group Information (SGI).
Installation
Built binaries are available from GitHub Releases.
https://github.com/android-project-46group/sgi-cli/releases
MacOS, Linux
# CAUTION: this script adds binary to /usr/local/bin folder
$ curl -Lsf https://github.com/android-project-46group/sgi-cli/main/_tools/scripts/installer.sh | bash
// ~/.sgi/account.json
{
"baseURL": "https://uri/to/api_server",
"apiKey": "your_api_key"
}
Uninstall
MacOS, Linux
# delete the binary
$ rm /usr/local/bin/sgi
# delete the related files
$ rm -r ~/.sgi
COMMANDS
member
About members information.
For now, only ls subcommand is available
$ sgi member ls -h
fetch all information
Usage:
sgi member ls [flags]
Flags:
-d, --data print all data
-g, --group string group name to fetch
-h, --help help for ls
-j, --json print as a json format
# list nogizaka members
$ sgi member ls -g nogizaka
group
About groups information.
For now, only ls subcommand is available
$ sgi group ls -h
fetch all information
Usage:
sgi group ls [flags]
Flags:
-h, --help help for ls
-j, --json print as a json format
# list nogizaka members
$ sgi group ls
LICENSE
under MIT License.