8000 Hidden Console Commands & Namespaces · Issue #22512 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Hidden Console Commands & Namespaces #22512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CupOfTea696 opened this issue Apr 24, 2017 · 2 comments
Closed

Hidden Console Commands & Namespaces #22512

CupOfTea696 opened this issue Apr 24, 2017 · 2 comments

Comments

@CupOfTea696
Copy link
Contributor
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.2.7

When all Console Commands are hidden, the List Command still shows the namespace, even though there isn't a single visible command within that namespace. The namespace should be hidden here.

In the example below, I run MyApp/bin/app list. The command ms:init is set to hidden.

Result:

Available commands:
  help         Displays help for a command
  list         Lists commands
 ats
  ats:clean    Delete any exported ATS archives in a given set of paths
  ats:export   Optionally build an ATS Frontend, and export the required files to an archive
 ms

Expected result

Available commands:
  help         Displays help for a command
  list         Lists commands
 ats
  ats:clean    Delete any exported ATS archives in a given set of paths
  ats:export   Optionally build an ATS Frontend, and export the required files to an archive
@ro0NL
Copy link
Contributor
ro0NL commented Apr 26, 2017

Related to #19954

Note it doesnt happen in 3.3 currently, probably because above PR. Perhaps something can be backported here... not sure :) i can have a look soonish.

@fabpot
Copy link
Member
fabpot commented Apr 26, 2017

Closing as it has been fixed by the referenced PR.

@fabpot fabpot closed this as completed Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
0