Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.01 KB

File metadata and controls

25 lines (24 loc) · 1.01 KB

👾 Nextcloud Share CLI (NCLI)

A command line tool for uploading a file to a nextcloud instance and automatically sharing it with a link that can be copied

installation (Linux)

  1. Install Go if not installed already
  2. run the following commands:
git clone https://github.com/m4r1vs/nextcloud-share-cli
cd nextcloud-share-cli
make install

installation (Mac & Windows) ⚠ might not work

  1. Install Go if not installed already
  2. clone this repository
  3. run go build -o bin/ncli ncli.go in the cloned directory
  4. add the generated binary to your windows path or mac path

Usage

Run ncli to set up the config. Following commands are currently supported:

ncli --share path/to/file.jpeg
ncli --upload path/to/file.js
ncli --configure reset
ncli --configure [username, password, etc.]
ncli --help