gittar-cloud

0.0.3 • Public • Published

tar your git repository and upload to cloud for node.

NPM version

Installation

For node:

npm install gittar-cloud

For CLI:

npm install -g gittar-cloud

Using Dropbox

  1. Go to Dropbox My apps page.
  2. Create an app.
  3. In OAuth 2 section, Generated access token.
  4. Paste token into ~/.gittar/client_secret.json

Using Google Drive

  1. Follow this link to Turn on the Drive API in Step 1.
  1. Move token file to ~/.gittar/

CLI Usage

gtcloud <type> <tar-name> <source>

For Dropbox:

gtcloud dropbox gittar .

For Google Drive:

gtcloud gdrive gittar .

Node Usage

For Dropbox:

const { gtcDrop } = require('gittar-cloud');
gtcDrop('gittar', '.');

For Google Drive:

const { gtcDrive } = require('gittar-cloud');
gtcDrive('gittar', '.');

Readme

Keywords

none

Package Sidebar

Install

npm i gittar-cloud

Weekly Downloads

0

Version

0.0.3

License

ISC

Last publish

Collaborators

  • pqab