mirror of
https://github.com/release-engineering/repo-autoindex.git
synced 2025-02-23 13:42:52 +00:00
README.md: add an example
This commit is contained in:
parent
5c4e5354b2
commit
e27033d1f4
1 changed files with 9 additions and 0 deletions
|
@ -1,2 +1,11 @@
|
|||
# repo-autoindex-prototype
|
||||
Generate static HTML indexes of various repository types
|
||||
|
||||
## Usage example
|
||||
|
||||
```
|
||||
pip install repo-autoindex
|
||||
REPO_URL=$(curl -s 'https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f36&arch=x86_64' | egrep '^http' | head -n1)
|
||||
repo-autoindex $REPO_URL
|
||||
xdg-open index.html
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue