Support --recursive flag for forge9 list #4

Closed
opened 2026-11-26 20:55:39 +00:00 by github-bot · 1 comment
Owner

@⁠nineforge0 on GitHub · 2026-11-24 07:34 UTC · original

forge9 list shows only the top level. tree recurses but prints a different, indented format; search recurses with filters.

Scope

  • Add --recursive (and --depth N, default unlimited or 3) to List.
  • Nested entries print with a path label like 5/3, which is the same syntax awc, shaders, bink and resource accept as an index, so output can be copy-pasted into those commands.
  • --json output gains a "path" field.

Done when

  • forge9 list script.rpf --recursive lists the entries inside its nested archives.
  • Existing non-recursive output is unchanged.

See CONTRIBUTING.md for build, test and style notes. Please don't attach game files to the PR; build test data in memory.

**@⁠nineforge0** on GitHub · 2026-11-24 07:34 UTC · [original](https://github.com/nineforge0/forge9/issues/4) `forge9 list` shows only the top level. `tree` recurses but prints a different, indented format; `search` recurses with filters. **Scope** - Add `--recursive` (and `--depth N`, default unlimited or 3) to `List`. - Nested entries print with a path label like `5/3`, which is the same syntax `awc`, `shaders`, `bink` and `resource` accept as an index, so output can be copy-pasted into those commands. - `--json` output gains a `"path"` field. **Done when** - `forge9 list script.rpf --recursive` lists the entries inside its nested archives. - Existing non-recursive output is unchanged. See [CONTRIBUTING.md](https://github.com/nineforge0/forge9/blob/main/CONTRIBUTING.md) for build, test and style notes. Please don't attach game files to the PR; build test data in memory.
github-bot 2026-11-26 20:55:39 +00:00
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:39 +00:00
Author
Owner

@⁠nineforge0 on GitHub · 2026-11-24 21:55 UTC · original · edited 2026-11-24 23:07 UTC

Added forge9 list --recursive: nested entries show as a/b paths (the form the decoder commands accept), and --json rows now carry a path field.

Landed in 8defb65.

**@⁠nineforge0** on GitHub · 2026-11-24 21:55 UTC · [original](https://github.com/nineforge0/forge9/issues/4#issuecomment-7145557916) · edited 2026-11-24 23:07 UTC Added `forge9 list --recursive`: nested entries show as `a/b` paths (the form the decoder commands accept), and `--json` rows now carry a `path` field. Landed in 8defb65.
This discussion has been locked. Commenting is limited to contributors.
No description provided.