Read a Google Sheet or Doc from the command line.
Folio is a small command-line tool. Give it the link to a Google Sheet or a Google Doc and it prints the contents as plain text, so a document can be read without leaving the terminal.
Folio asks for two read-only permissions and nothing else:
spreadsheets.readonly and documents.readonly.
It deliberately requests no Google Drive permission. That means it can open a document whose link you give it, but it cannot browse, search or list the contents of a Drive, and it cannot create, change or delete anything.
You authorise Folio once against your own Google account. It keeps the resulting token on your machine and uses it to fetch documents you already have permission to read. A spreadsheet comes back as a table per tab; a document comes back as text with its headings and lists intact.
Folio is a personal utility, not a product. It is free, has no user accounts, and operates no servers. Everyone who runs it does so on their own computer, under their own Google account and their own credentials.