lib.App: Allow _run() without subcommands #20
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
ffe0cfd41d |
jan/feature/20260617-lib-app-allow-run-without-subcommands into master | Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
ffe0cfd41d |
lib.App: Allow _run() without subcommands
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m5s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m11s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m8s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m17s
CI / Packaging test (push) Successful in 0s
Overriding the _run() method entirely in App subclasses is currently only possible if the application supports a subcommand structure. Make it possible to use it as an abstraction for a single-command application. Signed-off-by: Jan Lindemann <jan@janware.com> |