Skip to content
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

Implemented completion aware interface for stecman symfony console completion #573

Closed

Conversation

JoshuaBehrens
Copy link
Contributor

1. Why is this change necessary?

For easier usability of console commands. This is a rebased follow up to #33

Did you ever recognized a whole uuid? Do you know by heart what the plugin was spelled?

Examples in usage were already shown in the pull request for shopware 5.

2. What does this change do, exactly?

Implements for all core/shipped commands the CompletionAwareInterface
Adds hints in the documentation

3. Describe each step to reproduce the issue or behaviour.

Press tab to complete your shopware console commands. It just does not work.

4. Which documentation changes (if any) need to be made because of this PR?

https://docs.shopware.com should get a hint on the setup and pros.
There is a complementary pull request to shopware/development#20 to ensure this features is ready in the default docker container.

5. Checklist

  • I have written tests and verified that they fail without my change
  • I have squashed any insignificant commits
  • I have written or adjusted the documentation according to my changes
  • This change has comments for package types, values, functions, and non-obvious lines of code
  • I have read the contribution requirements and fulfil them.

@shyim
Copy link
Member

shyim commented Feb 23, 2020

I guess you missed the composer.json require for the stecman package

@JoshuaBehrens
Copy link
Contributor Author

Well I made it in the wrong composer.json. It is stuck in the development template 😆

@JoshuaBehrens
Copy link
Contributor Author

I added the missing dependency

composer.json Outdated Show resolved Hide resolved
@JoshuaBehrens
Copy link
Contributor Author

I added the dependency to the other repositories as well, implemented the feature for theme:change
expand-theme-change
and did a rebase :)

@JoshuaBehrens
Copy link
Contributor Author

Rebase is out and I also changed the new docs

@pweyck pweyck assigned PaddyS and unassigned pweyck Jul 3, 2020

return $result;
} elseif ($argumentName === 'namespace') {
// TODO find good way to determine the namespace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @JoshuaBehrens,
will you still take care of that tone? :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I think by now it is easier for me to find namespaces :) I'll amend that

@pweyck
Copy link
Collaborator

pweyck commented Jul 24, 2020

This PR was closed due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://docs.shopware.com/en/shopware-platform-dev-en/contribution/contribution-guideline

@pweyck pweyck closed this Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants