1.0.1 • Published 1 year ago

@quangvinh2080/google-drive-cli v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

google-drive-cli

A simple helper cli to interact with google drive.

oclif Version Downloads/week License

CodeQL Test version

Usage as CLI

$ npm install -g @quangvinh2080/google-drive-cli
$ google-drive COMMAND
running command...
$ google-drive (-v|--version|version)
@quangvinh2080/google-drive-cli/1.0.0 linux-x64 node-v12.22.7
$ google-drive --help [COMMAND]
USAGE
  $ google-drive COMMAND
...

If you don't want to input email and private key on every command, export it as environment variables:

export GDRIVE_CLIENT_EMAIL=example@email.com
export GDRIVE_PRIVATE_KEY="service account's private key"

Usage as library

You can import the GoogleDrive class as a module and use it without the cli functionality. See code: src/lib/google-drive.ts

Command Topics

Info

Build with

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

TODO

  • documentation
  • more tests
  • add prettier