This is the official Cybersharing CLI. It is a command line interface that allows you to interact with the Cybersharing API. You can use it to upload and download files via the terminal.
Installing the Cybersharing CLI is easy. You can install it via pip:
pip install cybersharing
Although not required, it is recommended that you login into your Cybersharing account before using the CLI. You can do this by running the following command:
cybersharing login <token>
Where <token> is your CLI Token. You can find it in your account settings.
You can logout at any time by running:
cybersharing logout
To upload one or more files, you can run the following command:
cybersharing upload <file1> <file2> ...
Where <file1>, <file2>, etc. are the files you want to upload.
Any option supported by the web interface is also supported by the CLI. For example, you can specify that the file should never expire by running:
cybersharing upload --permanent <file>
For the full list of options, run:
cybersharing upload --help
To download files from a Cybersharing url, you can run the following command:
cybersharing download <url>
A valid URL starts with https://cybersharing.net/s/.
Like with the upload command, you can specify options when downloading files. For example, you can download a password-protected file by running:
cybersharing download --password <password> <url>
Once again, for the full list of options, run:
cybersharing download --help
This project is licensed under the MIT License - see the LICENSE file for details.