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

[Feature] Check For existing config file #3

Open
Bakugo90 opened this issue Nov 16, 2024 · 0 comments
Open

[Feature] Check For existing config file #3

Bakugo90 opened this issue Nov 16, 2024 · 0 comments
Labels
feature good first issue Good for newcomers

Comments

@Bakugo90
Copy link
Owner

Bakugo90 commented Nov 16, 2024

Feature Request: Check for Existing Configuration File

Description

We are planning to add support for a configuration file in this extension. While the presence of this configuration file will not be mandatory for using the extension, it will provide additional details such as:

  • Groups of files to be converted
  • Files to be excluded from conversion
  • Paths for the public and assets folders

This will enhance the accuracy of the conversion process from HTML to Blade templates.

Task

Develop a function to check for the existence of a configuration file in the workspace. The function should:

  1. Verify the presence of a specific configuration file (e.g., config.json).
  2. If the configuration file exists, load and validate its contents.
  3. If the configuration file does not exist, proceed without it but log an informative message to the user.

Acceptance Criteria

  • The function should accurately detect the presence of the specified configuration file in the workspace.
  • If the configuration file exists, its contents should be loaded and validated.
  • If the configuration file does not exist, an informative message should be logged to the user.

Additional Context

This feature will allow for more precise control over the conversion process, improving the overall functionality and user experience of the extension.

@Bakugo90 Bakugo90 added good first issue Good for newcomers feature labels Nov 16, 2024
@Bakugo90 Bakugo90 changed the title [Feature] Check For existing config fille [Feature] Check For existing config file Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant