Skip to content

Commit bffc461

Browse files
hjuarez20enzolutions
authored andcommitted
[core] Add snippet to single commands (#358)
1 parent e2f0438 commit bffc461

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Application.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,8 @@ public function getData($filterNamespaces = null, $excludeNamespaces = [], $excl
703703
'init',
704704
'list',
705705
'shell',
706-
'server'
706+
'server',
707+
'snippet'
707708
];
708709

709710
$languages = $this->container->get('console.configuration_manager')

src/Descriptor/TextDescriptor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ protected function describeApplication(Application $application, array $options
272272
'init',
273273
'list',
274274
'shell',
275-
'server'
275+
'server',
276+
'snippet'
276277
];
277278

278279
// add commands by namespace

0 commit comments

Comments
 (0)