implement list_url_encode argument with optional regex value support

This commit is contained in:
yggverse 2025-07-03 20:47:20 +03:00
parent aa40a51440
commit bc4bc506f8
4 changed files with 44 additions and 4 deletions

View file

@ -77,14 +77,20 @@ nexy -p /path/to/public_dir
* this template file expects pattern and cannot be in binary format
**Patterns** * `{list}` - entries list for the `public` directory * `{hosts}` - unique visitors count * `{hits}` - requests count
**Patterns**
* `{list}` - entries list for the `public` directory
* `{hosts}` - unique visitors count
* `{hits}` - requests count
--template-index <TEMPLATE_INDEX>
Absolute path to the `Index` template file for each directory
* this template file expects pattern and cannot be in binary format
**Patterns** * `{list}` - entries list for the current directory * `{hosts}` - unique visitors count * `{hits}` - requests count
**Patterns**
* `{list}` - entries list for the current directory
* `{hosts}` - unique visitors count
* `{hits}` - requests count
--list-dir-show-count
Show files count in dir (as the alternative text for navigation links)
@ -150,6 +156,9 @@ nexy -p /path/to/public_dir
[default: %Y/%m/%d]
--list-url-encode <LIST_URL_ENCODE>
Encode listing URL match regex pattern (use `.*` for all entries)
-r, --read-chunk <READ_CHUNK>
Optimize memory usage on reading large files or stream