aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-23Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase1-4/+4
This is so it doesn't break current configurations. Let's not surprise the users.
2022-05-23Add configuration `change-theme` (#805)FLAMINGO1-0/+4
Add configuration `change-theme`Add configuration `change-theme`
2022-05-18Fix security issue with --no-symlinksSven-Hendrik Haase1-2/+2
Even with --no-symlinks specified, if a direct path to a symlink had been entered, it would be resolved. This fixes that behavior and improves tests to ensure this behavior.
2022-03-12Allow to set the accept input attribute to arbitrary valuesJohannes May1-0/+20
2022-02-20Add man page support using --print-manpage (fixes #730)Sven-Hendrik Haase1-0/+4
2022-01-03Upgrade clapSven-Hendrik Haase1-1/+1
2021-12-29Implement --route-prefix to set specific route prefixjikstra1-1/+5
2021-12-09Bump depsSven-Hendrik Haase1-2/+2
2021-10-25Refactor SPA-mode to make it more ergonomicSven-Hendrik Haase1-6/+6
2021-10-25Fix lintSven-Hendrik Haase1-5/+1
2021-10-18Update clapSven-Hendrik Haase1-12/+6
2021-10-08Add --spa-index optionBilly Bradley1-0/+8
2021-09-10Implement --show-wget-footer argumentjikstra1-0/+4
2021-08-31Simplify custom headersAli MJ Al-Nasrawy1-4/+2
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-08-30Implement show symlink destinationDean Li1-0/+4
Add option `show_symlink_info` to represent show symlink info or not. (Default to no) Show symlink destination after symlink symbol in directory listing Resemble `ls -l` and also the short argument select for this feature is also `-l`. Basic testing is included. Related to #499
2021-08-30Switch from structopt to clap v3Sven-Hendrik Haase1-33/+42
2021-08-28Switch TLS conditional compilation to featureSven-Hendrik Haase1-12/+2
2021-08-27Conditionally enable TLS only on supported platformsSven-Hendrik Haase1-0/+12
2021-08-27Fix accidental formattingSven-Hendrik Haase1-74/+74
2021-08-27Add TLS support via rustls (fixes #18)Sven-Hendrik Haase1-74/+82
2021-04-18Change naming of uncompressed/compressed tarballsDean Li1-4/+4
Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives`
2021-04-11Separate tar archive and tar flagsDean Li1-1/+5
It used to have one flag (-r) to enable both tar archive and tar. Now it has two flags [ -r: for tar, -g: for tar archive]. Related to #451
2021-03-28Print supported shells for completions in help commandSven-Hendrik Haase1-1/+1
2021-03-28Refactor and separate out arg handling and config handlingSven-Hendrik Haase1-86/+21
2021-03-28Generate completions with `miniserve --print-completions <shell>`Andy Freeland1-4/+6
This patch adds a `--print-completions` option to generate shell completion files at runtime. This ensures the completions are always up to date. Fixes #377.
2021-03-07Add option to show hidden filesSven-Hendrik Haase1-0/+5
2021-03-07Start without countdown in case an explicit index is chosenSven-Hendrik Haase1-1/+1
2021-02-28Add program version footerTamas Levai1-0/+5
2021-02-28Re-do the way setting multiple headers worksSven-Hendrik Haase1-7/+5
2021-02-27Multiple headers support for custom headersDean Li1-28/+19
2021-02-24Move the parsing header logic to args.rsDean Li1-2/+35
2021-02-24Allow set custom headers from CLIDean Li1-0/+5
2021-02-19Fix lintsSven-Hendrik Haase1-2/+2
2021-01-04Fix indentationTamas Levai1-1/+1
Convert tabs to spaces.
2021-01-04Add option to list directories firstTamas Levai1-0/+5
2020-10-01restore default theme cli option and add default theme dark optionLukas Stabe1-0/+26
2020-09-26remove default color scheme cli argumentLukas Stabe1-14/+0
2020-09-26move css out of html into its own routeLukas Stabe1-2/+4
2020-09-24add title option (#335) and breadcrumb links in headingLukas Stabe1-0/+5
2020-09-24Add embedded favicon (fixes #364)Sven-Hendrik Haase1-0/+5
2020-07-20cargo fmtSven-Hendrik Haase1-1/+1
2020-07-05Add generate QR code (#330)wyhaya1-0/+5
* Add generate QR code * Add --qrcode option
2020-06-28Bind to random port when port 0 specifiedIsaac Parker1-1/+7
2020-06-26Update nanoid to 0.3Sven-Hendrik Haase1-1/+1
2020-05-14Fix arg formattingSven-Hendrik Haase1-1/+2
2020-05-10rename variables correctlymarawan ragab1-6/+6
2020-05-10make sure archiving is opt-inmarawan ragab1-4/+11
2020-03-11Format everythingSven-Hendrik Haase1-2/+2
2020-03-09Fix deprecated stuffSven-Hendrik Haase1-3/+3
2020-03-02Added option to disable archivesDamian1-0/+5