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

Refactor command class names to be consistent #32

Closed
caendesilva opened this issue Mar 28, 2022 · 0 comments · Fixed by #33
Closed

Refactor command class names to be consistent #32

caendesilva opened this issue Mar 28, 2022 · 0 comments · Fixed by #33
Assignees

Comments

@caendesilva
Copy link
Member

caendesilva commented Mar 28, 2022

Abstract

Currently, class names, especially commands, are not very consistent. Refactoring this will allow the code to be more readable and easier to maintain.

Commands

I propose the format Hyde + CommandDescriptor + Command

Here are the commands, including already valid commands:
├── BasePublishingCommand.php
├── BuildStaticSiteCommand.php
├── Debug.php
├── HydePublishConfigsCommand.php
├── HydePublishHomepageCommand.php
├── HydePublishViewsCommand.php
├── MakePostCommand.php
├── MakeValidatorCommand.php
├── PublishStubsCommand.php
└── Validate.php

@caendesilva caendesilva self-assigned this Mar 28, 2022
@caendesilva caendesilva linked a pull request Mar 28, 2022 that will close this issue
@caendesilva caendesilva changed the title Refactor class names to be consistent Refactor command class names to be consistent Mar 28, 2022
caendesilva added a commit that referenced this issue Mar 28, 2022
…sistent

#32 refactor command class names to be consistent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant