Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hidden Console Commands & Namespaces #22512

Closed
@CupOfTea696

Description

@CupOfTea696
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions