Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

godri

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

godri

A command line application that lets you search for files in your Google Drive without going to the browser

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

A CLI App to Search Your Google Drive Files

How to Use

Authorization

To search for files in your Google Drive, this app needs to get your permission to access them.

After installation, run godri authorize to grant your permission. You only need to do this step once.

Your tokens will be stored in $HOME/.config/congigstore/godri.json and has the following parameters:

{
    "tokens": {
        "access_token": "XXXXXXXXXX",
        "refresh_token": "XXXXXXXXXX",
        "scope": "https://www.googleapis.com/auth/drive.metadata.readonly",
        "token_type": "Bearer",
        "expiry_date": 1234567890
    },
    "user": {
        "displayName": "Jane Doe",
        "emailAddress": "jane.doe@me.net"
    }
}

Once you've authorized with Godri, you can start searching for your Google Drive files with godri search <keyword> [options].

The keyword is compulsory. If you want to use multi-word, please wrap them in single quote, like so: godri search 'finance tracker'.

Accepted options are:

  • --file-type, -f: Specify the file types. Accepted formats are sheets, docs, forms and slides.
  • --owned, -o: Restrict the search results to files that you owned only.
  • --name-only, -n: Restrict the search range to files whose only file names match your provided keyword.

Keywords

FAQs

Package last updated on 16 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc