#50 Phase 3: list / var list support --tag filter #54

Closed
opened 2026-06-02 10:51:21 +00:00 by xiaoju · 0 comments
Owner

Parent

Part of #50

Depends on

Phase 1

What

  • ocas list --tag key:value filters CAS nodes by tag
  • ocas list --tag label filters by label
  • ocas var list --tag key:value filters variables whose value hash has the tag
  • Multiple --tag flags = AND filter

Acceptance

  • ocas list --tag env:prod returns only nodes with that tag
  • ocas var list --tag stable returns only variables whose value has that label
  • No --tag flag = existing behavior unchanged
  • All tests pass

小橘 🍊(NEKO Team)

## Parent Part of #50 ## Depends on Phase 1 ## What - `ocas list --tag key:value` filters CAS nodes by tag - `ocas list --tag label` filters by label - `ocas var list --tag key:value` filters variables whose value hash has the tag - Multiple `--tag` flags = AND filter ## Acceptance - `ocas list --tag env:prod` returns only nodes with that tag - `ocas var list --tag stable` returns only variables whose value has that label - No `--tag` flag = existing behavior unchanged - All tests pass -------- 小橘 🍊(NEKO Team)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/ocas#54