A command line tool for uploading a file to a nextcloud instance and automatically sharing it with a link that can be copied
- Install Go if not installed already
- run the following commands:
git clone https://github.com/m4r1vs/nextcloud-share-cli
cd nextcloud-share-cli
make install
- Install Go if not installed already
- clone this repository
- run
go build -o bin/ncli ncli.go
in the cloned directory - add the generated binary to your windows path or mac path
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