Update readme

This commit is contained in:
Seednode 2023-09-26 05:30:39 -05:00
parent 81b2d4a7b4
commit 5e1a957541
1 changed files with 31 additions and 31 deletions

View File

@ -112,37 +112,37 @@ Usage:
roulette <path> [path]... [flags] roulette <path> [path]... [flags]
Flags: Flags:
-a, --all enable all supported file types -a, --all enable all supported file types
--audio enable support for audio files --audio enable support for audio files
-b, --bind string address to bind to (default "0.0.0.0") -b, --bind string address to bind to (default "0.0.0.0")
-c, --cache generate directory cache at startup -c, --cache generate directory cache at startup
--cache-file string path to optional persistent cache file --cache-file string path to optional persistent cache file
--case-sensitive use case-sensitive matching for filters --case-sensitive use case-sensitive matching for filters
--code enable support for source code files --code enable support for source code files
--code-theme string theme for source code syntax highlighting (default "solarized-dark256") --code-theme string theme for source code syntax highlighting (default "solarized-dark256")
--exit-on-error shut down webserver on error, instead of just printing the error --exit-on-error shut down webserver on error, instead of just printing the error
-f, --filter enable filtering -f, --filter enable filtering
--flash enable support for shockwave flash files (via ruffle.rs) --flash enable support for shockwave flash files (via ruffle.rs)
--handlers display registered handlers (for debugging) --handlers display registered handlers (for debugging)
-h, --help help for roulette -h, --help help for roulette
--images enable support for image files --images enable support for image files
-i, --info expose informational endpoints -i, --info expose informational endpoints
--max-directory-scans uint number of directories to scan at once (default 32) --max-directory-scans int number of directories to scan at once (default 32)
--max-file-count uint skip directories with file counts above this value (default 4294967295) --max-file-count int skip directories with file counts above this value (default 2147483647)
--max-file-scans uint number of files to scan at once (default 256) --max-file-scans int number of files to scan at once (default 256)
--min-file-count uint skip directories with file counts below this value (default 1) --min-file-count int skip directories with file counts below this value (default 1)
--page-length uint32 pagination length for info pages --page-length int pagination length for info pages
-p, --port uint16 port to listen on (default 8080) -p, --port int port to listen on (default 8080)
--prefix string root path for http handlers (for reverse proxying) (default "/") --prefix string root path for http handlers (for reverse proxying) (default "/")
--profile register net/http/pprof handlers --profile register net/http/pprof handlers
-r, --recursive recurse into subdirectories -r, --recursive recurse into subdirectories
--refresh enable automatic page refresh via query parameter --refresh enable automatic page refresh via query parameter
--russian remove selected images after serving --russian remove selected images after serving
-s, --sort enable sorting -s, --sort enable sorting
--text enable support for text files --text enable support for text files
-v, --verbose log accessed files and other information to stdout -v, --verbose log accessed files and other information to stdout
-V, --version display version and exit -V, --version display version and exit
--video enable support for video files --video enable support for video files
``` ```
## Building the Docker container ## Building the Docker container