sgi-cli

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 5 Imported by: 0

README

License GoDoc Release

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
How to set account information
// ~/.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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL