Skip to content

Add documents:delete command (0.3.6)#8

Merged
usiegj00 merged 3 commits into
mainfrom
feat/documents-delete
Apr 26, 2026
Merged

Add documents:delete command (0.3.6)#8
usiegj00 merged 3 commits into
mainfrom
feat/documents-delete

Conversation

@usiegj00

Copy link
Copy Markdown
Contributor

Wraps DELETE /api/v1/documents/:id (SDK v0.1.8). Unblocks deleting a wrongly-imported Cert of Formation so the correct one can be re-imported via rightdocuments import.

Wraps the new DELETE /api/v1/documents/:id endpoint shipped in SDK
v0.1.8. Useful for removing a document that was imported by mistake
(e.g. a wrong Cert of Formation) before re-importing the correct one.
The shard package and Crystal module were named "right" / "Right",
which doesn't match the user-facing brand or the binary name. Renames:
- shard.yml name: right → rightdocuments
- src/right.cr → src/rightdocuments.cr
- src/right/ → src/rightdocuments/
- module Right → module RightDocuments (merges with the SDK's namespace,
  no class-name collisions; Right.* helpers become RightDocuments.*)
- VERSION → CLI_VERSION (SDK already defines RightDocuments::VERSION)
@usiegj00 usiegj00 merged commit c57106f into main Apr 26, 2026
1 check passed
@usiegj00 usiegj00 deleted the feat/documents-delete branch April 26, 2026 23:13
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