[pull] main from WatheqAlshowaiter:main#5
Merged
Conversation
- Remove ThanksCommand class and related composer script - Add new ModelFieldsCommand with comprehensive field querying - Support multiple output formats (list, json, table) - Add field type filtering (required, nullable, primary, default) - Implement interactive GitHub star prompt - Update service provider to register new command - Add comprehensive test suite for command functionality - Fix migration table names and add inspection suppressions - Clean up imports and code style improvements
- Replace info() with line() for consistent output capture across Laravel versions - Add version-aware interactive prompt logic for testing environments - Extract Laravel version helper to centralized Helpers class - Simplify testing environment detection logic
…odel-required-fields into model-fields-command
- Replace Artisan::output() with BufferedOutput for cross-version compatibility - Remove complex version-aware output logic from ModelFieldsCommand - Simplify command to use standard Laravel output methods (info, line) - Remove unused Helpers import and version compatibility methods - Add runCommandAndGetOutput helper for consistent test output capture
…odel-required-fields into model-fields-command
…ard compatibility
…odel-required-fields into model-fields-command
…utputContain for backward compatibility
…odel-required-fields into model-fields-command
- Replace assertFailed() with assertExitCode(Command::FAILURE) - Replace assertSuccessful() with assertExitCode(Command::SUCCESS) - Add Symfony Command import for exit code constants - Fix code formatting for anonymous class declaration
- Remove doesntExpectOutput method call not available in Laravel 7 - Remove unused imports and helper method - Simplify test to focus on cache behavior verification
…odel-required-fields into model-fields-command
- Add custom exit code constants for better readability - Replace expectsTable with explicit expectsOutput for table format testing - Add missing imports for comprehensive console testing - Use self:: constants instead of Command:: for exit codes
feat: add ModelFieldsCommand to fetch model fields from terminal
- Integrate console command examples throughout README - Add detailed "More on console commands" section with usage tips - Document all field types with console command examples - Add namespace handling and output format options - Update features list to include console command support - Improve organization with proper headings for field types
docs: add comprehensive console command documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )