/gssc

Primary LanguageGo

gssc

Simple, go-based, unofficial CLI Tool For Galatasaray Sozluk

Running

Type gssc (today | agenda | author | entry)

gssc today

Build For Your Own

for windows (64-bit)

GOOS=windows GOARCH=amd64 go build -o bin/gssc-64.exe

for mac (64-bit)

GOOS=darwin GOARCH=amd64 go build -o bin/gssc-64-darwin

for linux (64-bit)

GOOS=linux GOARCH=amd64 go build -o bin/gssc-64-linux

for custom, first type go tool dist list. The result will be similar to (GOOS/GOARCH):

`... linux/386 linux/amd64 linux/arm linux/arm64 linux/mips linux/mips64 linux/mips64le linux/mipsle linux/ppc64 linux/ppc64le linux/riscv64 linux/s390x windows/386 windows/amd64 windows/arm windows/arm64

your local GOOS and GOARCH can be obtained like :

go env GOOS GOARCH

Directly used libraries are cobra v1.5.01, promptui v0.9.02

Footnotes

  1. Cobra https://github.com/spf13/cobra/

  2. promptui https://github.com/manifoldco/promptui