list subcommand panics on empty signature file

Open
#377 9 comments 0 reactions 2 assignees View on GitHub

@vikvang is already working on this.

Since Sep 2, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement ready-to-implement ready-to-spec triaged

Description

Running command-signatures list against an empty signatures file panics with an index-out-of-bounds instead of printing an empty table.

Steps to reproduce

  1. touch /tmp/empty.json
  2. command-signatures list --file /tmp/empty.json
  3. Panic: index out of bounds: the len is 0 but the index is 0

Expected

An empty listing (or a clear 'no signatures found' message), not a panic.

Environment

Built from main, macOS.

Dominant language
Rust
Stars
7
Forks
10
Avg merge
8h 36m
Merged PRs (30d)
16

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/command-signatures

All issues in warpdotdev/command-signatures

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.