From 2e23485f62e6217be4e00c3cf23a4f1675875bcf Mon Sep 17 00:00:00 2001 From: Raj Date: Mon, 28 Sep 2026 12:09:51 -0700 Subject: [PATCH] Better error message for unknown commands (#2311) --- Sources/ContainerCommands/DefaultCommand.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/ContainerCommands/DefaultCommand.swift b/Sources/ContainerCommands/DefaultCommand.swift index e1e6ac39..af3a027b 100644 --- a/Sources/ContainerCommands/DefaultCommand.swift +++ b/Sources/ContainerCommands/DefaultCommand.swift @@ -84,12 +84,11 @@ struct DefaultCommand: AsyncLoggableCommand { guard let plugin = pluginLoader?.findPlugin(name: command), plugin.config.isCLI else { throw ValidationError( """ - Plugin 'container-\(command)' not found. + unknown command '\(command)' - If system services are not running, start them with: container system start - - If the plugin isn't installed, ensure it exists under: - Check to see that the plugin exists under: + If '\(command)' is a plugin, check that it exists under: - \(hintPaths) """