diff --git a/system/Commands/Namespaces.php b/system/Commands/Namespaces.php new file mode 100644 index 0000000000..8f1d4e9895 --- /dev/null +++ b/system/Commands/Namespaces.php @@ -0,0 +1,123 @@ +psr4 as $ns => $path) + { + $path = realpath($path) ?? $path; + + $tbody[] = [ + $ns, + realpath($path) ?? $path, + is_dir($path) ? "Yes" : "MISSING" + ]; + } + + $thead = ['Namespace', 'Path', 'Found?']; + + CLI::table($tbody, $thead); + } + +}