Skip to content

Conversation

@BernCarney
Copy link
Owner

No description provided.

Bern added 8 commits November 14, 2024 15:19
- Added validator command structure and documentation
- Created model files for Splunk config and validation results
- Updated Phase 2 documentation with implementation details
- Organized project structure for validation functionality

This commit sets up the foundation for implementing the validate command.
- Added validation models using dataclasses
- Integrated configparser for conf file parsing
- Defined validation issue types and result structure
- Updated Phase 2 documentation with implementation details
- Removed custom parsing in favor of configparser

This commit establishes the core structure for the validate command.
- Add validator implementation with Splunk-specific rules
- Create comprehensive test suite for validation scenarios
- Add command documentation with usage examples
- Implement styled output using One Dark theme
- Handle special Splunk sections ([], [*], [default])
- Add duplicate stanza and key detection
- Improve error reporting with line numbers
- Add verbose output functionality with step-by-step progress
- Create output utilities for consistent formatting
- Implement rich console styling with One Dark theme
- Break down validator into smaller, focused functions
- Add comprehensive test coverage for verbose output
- Update documentation with verbose examples
- Add todo tracking for remaining tasks
- Pass console instance through context for consistent output
- Add ValidationType enum for different validation levels
- Implement warning state for non-conf/meta files
- Update CLI help text and error handling
- Remove planned --report feature from docs
- Add comprehensive tests for file type validation
- Fix line length issues in docstrings
- Fix duplicate syntax check messages in verbose mode
- Standardize file path output across all validation types
- Add proper spacing and newlines between validation results
- Consolidate validation output logic in validator.py
- Add test for key-value format validation
- Improve handling of non-verbose vs verbose output modes
- Update output examples to match actual implementation
- Add correct styling information from One Dark theme
- Document status indicators and color scheme
- Remove references to unimplemented features
@BernCarney BernCarney closed this Nov 29, 2024
@BernCarney BernCarney deleted the Phase_2-validate_command branch November 29, 2024 03:03
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 this pull request may close these issues.

2 participants