Nest tag and bulk under qn endpoint#10
Merged
Merged
Conversation
Top-level `qn tag` and `qn bulk` only ever operated on endpoints. Move
them under `qn endpoint` to match the existing `endpoint security` and
`endpoint rate-limit` nesting pattern.
Hard break (pre-1.0): no aliases for the old paths.
qn endpoint tag {list,rename,delete,add,remove}
qn endpoint bulk {pause,resume}
qn endpoint bulk tag {add,remove}
Bulk status is split into `pause`/`resume` verbs (was a single `status`
verb with `--status active|paused`) to mirror the single-endpoint
commands. The `BulkUpdateEndpointStatusRequest.status` mapping is
hardcoded in the two verb arms; a header comment documents the
divergence from the SDK's free-string field. `tag delete`'s positional
is renamed `id` -> `tag_id` to match `tag rename`.
173 tests pass; clippy + fmt clean.
DX-5619
AlejandroFabianCampos
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
qn tagandqn bulkunderqn endpointto match the existing nesting pattern (endpoint security,endpoint rate-limit).bulk pause/bulk resumeverbs, mirroring the single-endpoint commands; drop theBulkStatusenum.tag deletepositionalid→tag_idfor consistency withtag rename.New surface:
Linear: DX-5619
Test plan
cargo buildcargo clippy --all-targets -- -D warningscargo fmt --checkcargo test— 173 passed, 0 failedqn tag listandqn bulk statusreturn "unrecognized subcommand"qn endpoint tag --helplists all five verbs;qn endpoint bulk --helplists pause/resume/tag