Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new list command (with ls alias) to the wadtools CLI that displays the contents of WAD files with detailed metadata including file paths, sizes, compression ratios, and file types. The command supports multiple output formats (table, JSON, CSV, flat) and provides filtering options by file type and regex pattern matching.
Key changes:
- New
listsubcommand with comprehensive filtering and output format options - Support for hashtable-based path resolution to show human-readable file names
- Multiple output formats for different use cases (interactive viewing, scripting, spreadsheets)
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| crates/wadtools/src/main.rs | Adds List command variant with arguments for input file, hashtable, filters, pattern matching, output format, and stats display |
| crates/wadtools/src/commands/mod.rs | Exports the new list module |
| crates/wadtools/src/commands/list.rs | Implements the complete list functionality with filtering, multiple output formats, and colored table display |
| crates/wadtools/Cargo.toml | Adds serde_json dependency for JSON output format |
| README.md | Adds comprehensive documentation for the list command with examples and usage patterns |
| Cargo.lock | Updates lock file with serde_json 1.0.143 dependency |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.