miniupload

Crates.iominiupload
lib.rsminiupload
version0.1.0
sourcesrc
created_at2023-04-03 10:28:07.772122
updated_at2023-04-03 10:28:07.772122
descriptionA simple tool for uploading to a miniserve instance
homepage
repositoryhttps://github.com/Robtom5/miniupload
max_upload_size
id829002
size46,196
Robert Thomas (Robtom5)

documentation

README

miniupload

Simple rust cli tool for uploading to a miniserve instance

Usage

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.

Configuration

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,

See Also

miniserve

Commit count: 3

cargo fmt