Remove --long-flags
This commit is contained in:
@@ -36,14 +36,16 @@ go install git.ipng.ch/ipng/s3-genindex/cmd/s3-genindex@latest
|
||||
```
|
||||
Usage: s3-genindex [OPTIONS] [directory]
|
||||
|
||||
-d, --dir-append append output file to directory href
|
||||
-f, --filter string only include files matching glob (default "*")
|
||||
-i, --include-hidden include dot hidden files
|
||||
-o, --output-file string custom output file (default "index.html")
|
||||
-r, --recursive recursively process nested dirs
|
||||
-v, --verbose verbosely list every processed file
|
||||
-x, --exclude-regex string exclude files matching regular expression
|
||||
--top-dir string top folder from which to start generating indexes
|
||||
-d append output file to directory href
|
||||
-f string
|
||||
only include files matching glob (default "*")
|
||||
-i include dot hidden files
|
||||
-o string
|
||||
custom output file (default "index.html")
|
||||
-r recursively process nested dirs
|
||||
-v verbosely list every processed file
|
||||
-x string
|
||||
exclude files matching regular expression
|
||||
```
|
||||
|
||||
## Usage Examples
|
||||
@@ -75,7 +77,7 @@ s3-genindex -rv /var/www
|
||||
|
||||
```bash
|
||||
# Include only Python files
|
||||
s3-genindex --filter "*.py"
|
||||
s3-genindex -f "*.py"
|
||||
|
||||
# Exclude build artifacts and dependencies
|
||||
s3-genindex -x "(build|dist|node_modules|__pycache__|\\.tmp)"
|
||||
@@ -91,7 +93,7 @@ s3-genindex -i
|
||||
s3-genindex -r -o index.html -x "(\.git|\.svn|node_modules)" /var/www
|
||||
|
||||
# Verbose processing with directory appending
|
||||
s3-genindex -rv --dir-append /home/user/public
|
||||
s3-genindex -r -v -d /home/user/public
|
||||
```
|
||||
|
||||
## File Type Support
|
||||
|
||||
Reference in New Issue
Block a user