Mercurial > hgrepos > Python > apps > py-cutils
diff genpwd.py @ 231:6d8443878a00
Use argparse in genpwd.py now.
As side effect there is now a help and version flag.
And the help message are slightly better.
Also added a genpwd.py driver program.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 07 Feb 2025 13:30:33 +0100 |
| parents | |
| children | 48430941c18c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genpwd.py Fri Feb 07 13:30:33 2025 +0100 @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# :- +# :Copyright: (c) 2025 Franz Glasner +# :License: BSD-3-Clause +# :- +r"""Pure Python implementation of a directory tree checksum. + +""" + +from __future__ import absolute_import + +import sys + +import cutils.genpwd + + +sys.exit(cutils.genpwd.main())
