mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-10 06:25:00 +00:00
Update readme for latest RC
This commit is contained in:
parent
9a8dc0e44f
commit
9b89ff32fa
1 changed files with 14 additions and 11 deletions
23
README.md
23
README.md
|
@ -9,7 +9,7 @@ _a simple image hosting service_
|
||||||
## Usage
|
## Usage
|
||||||
### Running
|
### Running
|
||||||
```
|
```
|
||||||
pict-rs 0.3.0-rc.1
|
pict-rs 0.3.0-rc.5
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
pict-rs [FLAGS] [OPTIONS] [SUBCOMMAND]
|
pict-rs [FLAGS] [OPTIONS] [SUBCOMMAND]
|
||||||
|
@ -20,24 +20,27 @@ FLAGS:
|
||||||
-V, --version Prints version information
|
-V, --version Prints version information
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-a, --addr <addr> The address and port the server binds to.
|
-a, --addr <addr> The address and port the server binds to.
|
||||||
--api-key <api-key> An optional string to be checked on requests to privileged endpoints
|
--api-key <api-key>
|
||||||
-c, --config-file <config-file> Path to the pict-rs configuration file
|
An optional string to be checked on requests to privileged endpoints
|
||||||
|
|
||||||
|
-c, --config-file <config-file> Path to the pict-rs configuration file
|
||||||
-f, --filters <filters>...
|
-f, --filters <filters>...
|
||||||
An optional list of filters to permit, supports 'identity', 'thumbnail', 'resize', 'crop', and 'blur'
|
An optional list of filters to permit, supports 'identity', 'thumbnail', 'resize', 'crop', and 'blur'
|
||||||
|
|
||||||
-i, --image-format <image-format>
|
-i, --image-format <image-format>
|
||||||
An optional image format to convert all uploaded files into, supports 'jpg', 'png', and 'webp'
|
An optional image format to convert all uploaded files into, supports 'jpg', 'png', and 'webp'
|
||||||
|
|
||||||
-m, --max-file-size <max-file-size> Specify the maximum allowed uploaded file size (in Megabytes)
|
-m, --max-file-size <max-file-size> Specify the maximum allowed uploaded file size (in Megabytes)
|
||||||
--max-image-area <max-image-area> Specify the maximum area in pixels allowed in an image
|
--max-image-area <max-image-area> Specify the maximum area in pixels allowed in an image
|
||||||
--max-image-height <max-image-height> Specify the maximum width in pixels allowed on an image
|
--max-image-height <max-image-height> Specify the maximum width in pixels allowed on an image
|
||||||
--max-image-width <max-image-width> Specify the maximum width in pixels allowed on an image
|
--max-image-width <max-image-width> Specify the maximum width in pixels allowed on an image
|
||||||
--migrate-file <migrate-file> Path to a file defining a store migration
|
--migrate-file <migrate-file> Path to a file defining a store migration
|
||||||
-o, --opentelemetry-url <opentelemetry-url>
|
-o, --opentelemetry-url <opentelemetry-url>
|
||||||
Enable OpenTelemetry Tracing exports to the given OpenTelemetry collector
|
Enable OpenTelemetry Tracing exports to the given OpenTelemetry collector
|
||||||
|
|
||||||
-p, --path <path> The path to the data directory, e.g. data/
|
-p, --path <path> The path to the data directory, e.g. data/
|
||||||
|
--sled-cache-capacity <sled-cache-capacity> Specify the number of bytes sled is allowed to use for it's cache
|
||||||
|
|
||||||
SUBCOMMANDS:
|
SUBCOMMANDS:
|
||||||
file-store
|
file-store
|
||||||
|
|
Loading…
Reference in a new issue