README
¶
gsheet-cli
Fetch Google Sheets data from your command line.
Installation
- Install the
gsheet
command:go install github.com/gkawamoto/gsheet-cli@latest
- Create OAuth client ID Desktop app credentials on your Google Cloud Platform: https://console.cloud.google.com/apis/credentials
- Download the JSON file and save it on
~/.config/gsheet/credentials.json
- Run
gsheet auth
and follow the steps - ???
- Profit!
Usage
$ gsheet help
Usage:
gsheet [command]
Available Commands:
auth Checks whether your cli is authenticated correctly
completion Generate the autocompletion script for the specified shell
get Get data from a spreadsheet
help Help about any command
Flags:
-d, --config-dir string config directory (default "~/.config/gsheet")
-c, --credentials-file string credentials file location (default "~/.config/gsheet/credentials.json")
-h, --help help for gsheet
Contributing
Issues and PRs are welcome.
License
MIT License
Click to show internal directories.
Click to hide internal directories.