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

Console command to find blocks #67

Closed
nadar opened this issue May 7, 2018 · 0 comments
Closed

Console command to find blocks #67

nadar opened this issue May 7, 2018 · 0 comments
Assignees

Comments

@nadar
Copy link
Member

nadar commented May 7, 2018

Add new command in order to find blocks by its name and display how many times they are used inside the contents. This can be part of a migration to in order to rename class names.

/**
 * Usage:
 * 
 * ```
 * ./luya cms/block/find
 * ```
 * 
 * Filter for a given name:
 * 
 * ```
 * ./luya cms/block/find html
 * ```
 * 
 * Filter for different names combined as OR conditions:
 * 
 * ```
 * ./luya cms/block/find html,module
 * ```
 */
@nadar nadar self-assigned this May 7, 2018
nadar added a commit that referenced this issue May 7, 2018
@nadar nadar changed the title Console command for block usage Console command to find blocks May 7, 2018
nadar added a commit that referenced this issue May 7, 2018
nadar added a commit that referenced this issue May 7, 2018
@nadar nadar closed this as completed May 7, 2018
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

1 participant