Skip to content

Commit

Permalink
[core] Add snippet to single commands (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and enzolutions committed Jun 25, 2019
1 parent e2f0438 commit bffc461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,8 @@ public function getData($filterNamespaces = null, $excludeNamespaces = [], $excl
'init',
'list',
'shell',
'server'
'server',
'snippet'
];

$languages = $this->container->get('console.configuration_manager')
Expand Down
3 changes: 2 additions & 1 deletion src/Descriptor/TextDescriptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ protected function describeApplication(Application $application, array $options
'init',
'list',
'shell',
'server'
'server',
'snippet'
];

// add commands by namespace
Expand Down

0 comments on commit bffc461

Please sign in to comment.