2.1.0 • Published 2 years ago

@ysn4irix/gdrive v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

📟

❯ Install

Requires Node.js 14.0 or higher download & install for Windows or Linux

# Recommended.
npx @ysn4irix/gdrive

# OR an alternative global install.
npm install -g @ysn4irix/gdrive

⚙️

❯ Usage

  1. Get your credentials from Google Cloud Console
  1. Create your Google Drive credentials config file
npx gdrive --config

# OR for global install
gdrive --config

Then answer the following questions buy copy paste your credentials to create your config file.

Client Secret?
Client ID?
Refresh Token?
  1. Run the CLI using
npx gdrive

# OR for global install
gdrive

BASIC USAGE

gdrive <command> [option]

COMMANDS

upload  Upload file to Google Drive

OPTIONS

--path         Path of your file to be uploaded
--share        Get the uploaded file link
--config       Edit credentials config file
--help         Print help info
-v, --version  Print CLI version

🙌

❯ About

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Ysn4Irix

📃

❯ License

Copyright © 2022-present, Ysn4Irix. Released under the MIT License.