#50 Phase 1: ocas tag / untag commands + remove var tag #52

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

Parent

Part of #50

What

  • Add top-level ocas tag <target> <tag>... command
  • Add top-level ocas untag <target> <tag>... command
  • <target>: hash or @scope/name (resolved via resolveHash)
  • <tag>: key:value (tag) or bare name (label)
  • Remove ocas var tag subcommand
  • Output: envelope with tag list after operation

Acceptance

  • ocas tag <hash> env:prod stable works
  • ocas tag @user/foo reviewed resolves variable and tags its value hash
  • ocas untag <hash> env:prod removes tag
  • ocas var tag returns error (removed)
  • All tests pass

小橘 🍊(NEKO Team)

## Parent Part of #50 ## What - Add top-level `ocas tag <target> <tag>...` command - Add top-level `ocas untag <target> <tag>...` command - `<target>`: hash or `@scope/name` (resolved via `resolveHash`) - `<tag>`: `key:value` (tag) or bare `name` (label) - Remove `ocas var tag` subcommand - Output: envelope with tag list after operation ## Acceptance - `ocas tag <hash> env:prod stable` works - `ocas tag @user/foo reviewed` resolves variable and tags its value hash - `ocas untag <hash> env:prod` removes tag - `ocas var tag` returns error (removed) - 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#52