Skip to content

Add label get command#20

Merged
garaemon merged 3 commits intomainfrom
2026.04.03-label-get
Apr 5, 2026
Merged

Add label get command#20
garaemon merged 3 commits intomainfrom
2026.04.03-label-get

Conversation

@garaemon
Copy link
Copy Markdown
Owner

@garaemon garaemon commented Apr 3, 2026

Summary

  • Add label get <item_id> subcommand to display labels assigned to a specific library item
  • Introduce GetItemLabels, GetItemLabelNames, and ResolveLabelName API functions in internal/api/label.go
  • Add LabelIDs field to LibraryItem struct to support label association

Test plan

  • go build ./... passes
  • go test ./... passes (all existing and new tests)
  • Manual test: paperpile label get <item_id> shows label names for an item with labels
  • Manual test: paperpile label get <item_id> shows (no labels) for an item without labels

🤖 Generated with Claude Code

garaemon and others added 3 commits April 3, 2026 13:10
Add `label get` subcommand to display labels assigned to a library item.
Introduces GetItemLabels, GetItemLabelNames, and ResolveLabelName API
functions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Resolve merge conflicts between label get and label create commands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@garaemon garaemon merged commit 7a58359 into main Apr 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant