Skip to content

[Doc] Remove the --dir option in debug:twig-component command #1790

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

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

javiereguiluz
Copy link
Member

Q A
Bug fix? yes
New feature? no
Issues -
License MIT

I tried adding the --dir option and the command showed an error: The "--dir" option does not exist.

Looking at the source code, it looks like this option doesn't exist:

protected function configure(): void
{
$this
->setDefinition([
new InputArgument('name', InputArgument::OPTIONAL, 'A component name or part of the component name'),
])
->setHelp(
<<<'EOF'
The <info>%command.name%</info> display all the Twig components in your application.
To list all components:
<info>php %command.full_name%</info>
To get specific information about a component, specify its name (or a part of it):
<info>php %command.full_name% Alert</info>
EOF
);
}

@javiereguiluz javiereguiluz added the docs Improvements or additions to documentation label Apr 26, 2024
@carsonbot carsonbot added Bug Bug Fix Status: Needs Review Needs to be reviewed labels Apr 26, 2024
@kbond kbond force-pushed the doc_remove_option branch from 5a818c7 to a1d873c Compare April 26, 2024 15:50
@kbond
Copy link
Member

kbond commented Apr 26, 2024

Thanks Javier.

@kbond kbond merged commit ef3ddc7 into symfony:2.x Apr 26, 2024
2 of 3 checks passed
@javiereguiluz javiereguiluz deleted the doc_remove_option branch April 26, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix docs Improvements or additions to documentation Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants