diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-24 14:08:47 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-24 14:08:47 +0200 |
| commit | 49fb19170a74accf51aa13ef0600a0d15f707737 (patch) | |
| tree | a0a66e919e031638129ab9b128eb74c12e376fe7 /g2h/cli.py | |
| parent | 782a350e1f56292176ac8471195c889e47b2b841 (diff) | |
| download | git2hugo-49fb19170a74accf51aa13ef0600a0d15f707737.tar.gz | |
g2h: Add log page
Diffstat (limited to 'g2h/cli.py')
| -rw-r--r-- | g2h/cli.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,12 +20,14 @@ def main(): git = Git(args.repo_path) branches = git.get_branches() + commits = git.get_commits() # TODO: Fix this for repo_path=(.|~) project_name = args.name if args.name is not None else os.path.basename(args.repo_path) tags = git.get_tags() gen = Generator(args.out_dir) gen.render_overview(project_name, branches, tags) + gen.render_log(project_name, commits, branches, tags) if __name__ == '__main__': main() |