Skip to content

feat: list command#43

Merged
Crauzer merged 3 commits intomainfrom
feat/list-command
Nov 25, 2025
Merged

feat: list command#43
Crauzer merged 3 commits intomainfrom
feat/list-command

Conversation

@Crauzer
Copy link
Copy Markdown
Member

@Crauzer Crauzer commented Nov 25, 2025

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 list subcommand 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.

@Crauzer Crauzer merged commit 8a8471a into main Nov 25, 2025
3 checks passed
@Crauzer Crauzer deleted the feat/list-command branch November 25, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants