diff --git a/system/Commands/Namespaces.php b/system/Commands/Utilities/Namespaces.php similarity index 98% rename from system/Commands/Namespaces.php rename to system/Commands/Utilities/Namespaces.php index 8f1d4e9895..8210ead6dc 100644 --- a/system/Commands/Namespaces.php +++ b/system/Commands/Utilities/Namespaces.php @@ -1,4 +1,4 @@ -getRoutes($method); + + foreach ($routes as $from => $to) + $tbody[] = [ + $from, + $method, + $to + ]; + } + + $thead = ['Route', 'Method', 'Command']; + + CLI::table($tbody, $thead); + } + +}