From 513b3c09a54af31ffd1b0eb9b3c47849816483be Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Mon, 20 Dec 2021 10:00:02 +0000 Subject: main: add support for CLI extensions via external binaries This adds some logic to detect and dispatch unknown subcommands to extensions available in `$PATH`. Additional commands can be implemented by adding relevant `ostree-$verb` binaries to the system. As an example, if a `/usr/bin/ostree-extcommand` extension is provided, the execution of `ostree extcommand --help` will be dispatched to that as `ostree-extcommand extcommand --help`. --- Makefile-tests.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile-tests.am') diff --git a/Makefile-tests.am b/Makefile-tests.am index 69d3035d..6bae65cf 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -62,6 +62,7 @@ _installed_or_uninstalled_test_scripts = \ tests/test-basic-user.sh \ tests/test-basic-user-only.sh \ tests/test-basic-root.sh \ + tests/test-cli-extensions.sh \ tests/test-pull-subpath.sh \ tests/test-archivez.sh \ tests/test-remote-add.sh \ -- cgit v1.2.1