@ysn4irix/gdrive
v2.1.0
Published
cli for uploading files directly to your Google Drive.
Downloads
5
Maintainers
Readme
❯ 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
- Get your credentials from Google Cloud Console
- 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?
- 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.