diff --git a/framework/Console/Command.php b/framework/Console/Command.php
index <HASH>..<HASH> 100644
--- a/framework/Console/Command.php
+++ b/framework/Console/Command.php
@@ -160,6 +160,7 @@ class Command extends Dispatch implements Annotation
 
         $dispatch
             ->setPath($properties['path'] ?? null)
+            ->setName($properties['name'] ?? null)
             ->setRegex($properties['regex'] ?? null)
             ->setParams($properties['params'] ?? null)
             ->setDescription($properties['description'] ?? null)
Fixing command property for name not being set from cache.