From 691a5d40a4420c15a23db0f49f67a7fb1ecf7738 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 21 Sep 2016 14:03:09 +0200 Subject: Add autocomplete for config:* Signed-off-by: Joas Schilling --- core/Command/Base.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/Command/Base.php') diff --git a/core/Command/Base.php b/core/Command/Base.php index 1a78e3b4062..15878a807d8 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -167,6 +167,9 @@ class Base extends Command implements CompletionAwareInterface { * @return string[] */ public function completeOptionValues($optionName, CompletionContext $context) { + if ($optionName === 'output') { + return ['plain', 'json', 'json_pretty']; + } return []; } -- cgit v1.2.3