Revision 537c4eff2a0c50f52a38f7f357c43171697587a2 authored by Antonio Valentino on 04 August 2022, 08:18:55 UTC, committed by GitHub on 04 August 2022, 08:18:55 UTC
+ add `__main__.py` for the initial implementation of the single-entrypoint script - add sub-parser grabbing functions `get_*_parser()` for all executable scripts - add `_autocomplete()` - add the main parser function `get_parser()` with groupped calls for sub-parsers - add `main()` with proper logging info and exit code + `utils.arg_utils.py`: - rename from `arg_group.py` to `arg_utils.py` - add `create_argument_parser()` to create parser with or without sub-parsers - call `create_argument_parser()` from all executable scripts in `mintpy` folder. + `setup.py`: add the following optional requirements: - argcomplete - platemotion and astropy + `timeseries2velocity.py`: rename `inps.step` to `inps.stepDate` to avoid weird initiation bug in sub-command mode. Co-authored-by: Zhang Yunjun <yunjunzgeo@gmail.com>
1 parent 00dd106
File | Mode | Size |
---|---|---|
.circleci | ||
.github | ||
docs | ||
mintpy | ||
scripts | ||
tests | ||
.gitignore | -rw-r--r-- | 1.8 KB |
.readthedocs.yaml | -rw-r--r-- | 677 bytes |
Dockerfile | -rw-r--r-- | 1.7 KB |
LICENSE | -rw-r--r-- | 35.1 KB |
MANIFEST.in | -rw-r--r-- | 89 bytes |
mkdocs.yml | -rw-r--r-- | 1.5 KB |
pyproject.toml | -rw-r--r-- | 91 bytes |
requirements.txt | -rw-r--r-- | 661 bytes |
setup.py | -rw-r--r-- | 7.0 KB |
Computing file changes ...