Commit 73faaef8 authored by Gustavo Padovan's avatar Gustavo Padovan

rename main.py to a better name

parent 463d2290
......@@ -8,8 +8,7 @@ On a python3 environment:
pip install pygit2 jinja2
```
## run
## Generating HTML tree view
Export the output of the git cmdline below to a csv file
......@@ -17,10 +16,10 @@ Export the output of the git cmdline below to a csv file
git log --pretty='format:%h,"%s",,' <revision range>
```
then pass your csv file as arg to `main.py`
then pass your csv file as arg:`
```
main.py <csv file> <name> <git cmdline> <git HEAD>
generate-html-tree.py <csv file> <name> <git cmdline> <git HEAD>
```
*csv file*: your csv file generated from the git log with the `--pretty='format:%h,"%s"`
......@@ -31,7 +30,7 @@ main.py <csv file> <name> <git cmdline> <git HEAD>
*git HEAD*: the current git HEAD used
`main.py` will output \<name>.html and \<name>.json
`It` will output \<name>.html and \<name>.json
### scripts
......
......@@ -16,4 +16,4 @@ mv $NAME.csv $WORKDIR
popd > /dev/null
source .venv/bin/activate
./main.py $NAME.csv $NAME "$CMDLINE" $HEAD
\ No newline at end of file
./generate-html-tree.py $NAME.csv $NAME "$CMDLINE" $HEAD
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment