Build and packaging library
  • Python 48.7%
  • Makefile 37.5%
  • Shell 13.8%
Find a file
Jan Lindemann ce1b8b6744 lib.App: Fully parse argparse tree if _ARGCOMPLETE

Every module derived from lib.Cmd implements its own parser.add_argument() logic. As a consequence, all Cmd derived modules need to be loaded to have the full argument tree available. This is avoided during normal program startup because it takes some time. It's not necessary during normal program execution, nor for showing help messages. It is, however, needed for argcomplete to do its thing, so fully parse the command line if the program runs in argcomplete mode, as determined by checking if _ARGCOMPLETE is present in the environment.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-27 09:16:14 +01:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf jw-pkg.py: Enable argcomplete 2026-03-06 12:06:28 +01:00
make pgit.sh: Beautify logging 2026-03-27 09:16:14 +01:00
scripts pgit.sh: Beautify logging 2026-03-27 09:16:14 +01:00
src lib.App: Fully parse argparse tree if _ARGCOMPLETE 2026-03-27 09:16:14 +01:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-194@suse-tumbleweed/x86_64 2026-03-25 10:03:15 +00:00
Makefile make: Replace RPM -> PKG 2026-03-16 14:57:50 +01:00
RELEASES Release 1.0.0-194@suse-tumbleweed/x86_64 2026-03-25 10:03:15 +00:00
VERSION Start version: 1.0.0-194 2026-03-25 09:50:30 +00:00