Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat(command): Add Django Management Command for Generating Pretty …
…JSON from Log Directory #### Key Features: - **Command Overview**: The command is designed to search for JSON files, handle multiple JSON objects within a single file, and output a prettified JSON format, enhancing readability and usability for developers and maintainers. - **Directory Setup**: Utilizes a helper function to establish the required directory structure, ensuring the presence of both the original and formatted directories. - **File Processing**: The command processes each .json file found in the specified directory, incrementally reading and reformatting the content to ensure that all JSON objects are valid and properly structured. - **Error Handling**: Implements error handling for file access issues and reports any incomplete JSON objects encountered during the processing, making it easier to troubleshoot formatting problems. - **User Feedback**: Provides console feedback during execution, informing users of the status of file processing and any issues that may arise. This management command simplifies the task of formatting JSON logs, making them more accessible for analysis and further processing.
- Loading branch information