Sharepoint file operations
npm install sharepoint-filesharepoint-file
===============

A command-line utility for Sharepoint file operations
:information_source: Currently supports only download of individual files from an online Sharepoint site / file storage.
Installation or update
----------------------
````
$ npm install -g sharepoint-file
Usage
-----
$ spfile task args
Available tasks: (use --help for more info)
fetch [options]
[filepath] File name or file path to save to
[-u] ............................. User credentials as emailaddress:password
Example: spfile fetch https://your.sharepoint.com/path/foo.json
Example: spfile fetch https://your.sharepoint.com/path/bar.pdf bar.pdf
login [options]
[-u] ............................. User credentials as emailaddress:password
Example: spfile login https://your.sharepoint.com
logout ................................. Invalidates your Sharepoint session explicitly
Options:
--silent ............................... Suppresses most console output
License
-------
The MIT License (MIT)
Copyright (c) 2016 Timegrip