Crates.io | miniupload |
lib.rs | miniupload |
version | 0.1.0 |
source | src |
created_at | 2023-04-03 10:28:07.772122 |
updated_at | 2023-04-03 10:28:07.772122 |
description | A simple tool for uploading to a miniserve instance |
homepage | |
repository | https://github.com/Robtom5/miniupload |
max_upload_size | |
id | 829002 |
size | 46,196 |
Simple rust cli tool for uploading to a miniserve instance
miniupload upload <FILE>
will upload the file to configured url and folder
miniupload download <FILENAME> <DEST>
will download the file from the remote if it exists to the provided destination.
miniupload -h
for more information.
The target url and subfolder on the server can be configured by running miniupload config -a <URL> -f <FOLDER>
. Alternatively, the target and folder can be set as environment variables, MINIUPLOAD_TARGET
and MINIUPLOAD_FOLDER
respectively.
NB: The values stored in the environment variables will always be used if set,