gsheet-cli

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT

README

gsheet-cli

Fetch Google Sheets data from your command line.

Installation

  1. Install the gsheet command: go install github.com/gkawamoto/gsheet-cli@latest
  2. Create OAuth client ID Desktop app credentials on your Google Cloud Platform: https://console.cloud.google.com/apis/credentials
  3. Download the JSON file and save it on ~/.config/gsheet/credentials.json
  4. Run gsheet auth and follow the steps
  5. ???
  6. 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

Directories

Path Synopsis
cmd
commands

Jump to

Keyboard shortcuts

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