Better error message for unknown commands (#2311)

This commit is contained in:
Raj authored and GitHub committed 2026-09-28 12:09:51 -07:00
1 parent 4a7d861524
commit 2e23485f62
1 file changed
+2 -3
@@ -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)
"""