From c53fa963497da9d44fa7a87a7d436b4889c3b613 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Tue, 2 Dec 2025 23:49:32 +0100 Subject: [PATCH] Remove --long-flags --- cmd/index.html | 596 ++++++++++++++++++++++++++++++ docs/DETAILS.md | 22 +- docs/index.html | 596 ++++++++++++++++++++++++++++++ index.html | 687 +++++++++++++++++++++++++++++++++++ internal/index.html | 596 ++++++++++++++++++++++++++++++ internal/indexgen/index.html | 622 +++++++++++++++++++++++++++++++ 6 files changed, 3109 insertions(+), 10 deletions(-) create mode 100644 cmd/index.html create mode 100644 docs/index.html create mode 100644 index.html create mode 100644 internal/index.html create mode 100644 internal/indexgen/index.html diff --git a/cmd/index.html b/cmd/index.html new file mode 100644 index 0000000..1ceefb4 --- /dev/null +++ b/cmd/index.html @@ -0,0 +1,596 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

cmd

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameSize + Modified +
+ + + + +..
+ + + s3-genindex + +
+
+
+ + \ No newline at end of file diff --git a/docs/DETAILS.md b/docs/DETAILS.md index de5972a..8a75bcd 100644 --- a/docs/DETAILS.md +++ b/docs/DETAILS.md @@ -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 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..f59dbd3 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,596 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

docs

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameSize + Modified +
+ + + + +..
+ + + DETAILS.md + + 6 KB
+
+
+ + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..4732b07 --- /dev/null +++ b/index.html @@ -0,0 +1,687 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

s3-index

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameSize + Modified +
+ + + + +..
+ + + cmd + +
+ + + docs + +
+ + + internal + +
+ + + LICENSE + + 7 KB
+ + + Makefile + + 2 KB
+ + + README.md + + 525 bytes
+ + + go.mod + + 45 bytes
+ + + s3-genindex + + 4 MB
+
+
+ + \ No newline at end of file diff --git a/internal/index.html b/internal/index.html new file mode 100644 index 0000000..b5e66cb --- /dev/null +++ b/internal/index.html @@ -0,0 +1,596 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

internal

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameSize + Modified +
+ + + + +..
+ + + indexgen + +
+
+
+ + \ No newline at end of file diff --git a/internal/indexgen/index.html b/internal/indexgen/index.html new file mode 100644 index 0000000..934024c --- /dev/null +++ b/internal/indexgen/index.html @@ -0,0 +1,622 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

indexgen

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameSize + Modified +
+ + + + +..
+ + + indexgen.go + + 26 KB
+ + + indexgen_test.go + + 8 KB
+ + + integration_test.go + + 8 KB
+
+
+ + \ No newline at end of file