feat(cli): TurboDocx CLI wrapping Go SDK#22
Draft
nicolasiscoding wants to merge 5 commits intomainfrom
Draft
Conversation
Go + Cobra CLI for TurboSign digital signatures. Single binary, zero runtime deps. Implements: - Config management (load/save ~/.turbodocx/config.json, flag > env > file priority) - All sign commands: send, review, status, download, void, resend, audit - Login flow (interactive + non-interactive) - JSON/plain output modes for scripting - Shell completion (bash/zsh/fish/powershell) - GoReleaser config for 6-platform cross-compilation - CI job in GitHub Actions - 35 tests with mock SDK client injection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Triggers on `cli-v*` release tags. Runs tests, then cross-compiles 6 binaries (linux/darwin/windows × amd64/arm64) via GoReleaser and uploads to GitHub Releases + Homebrew tap. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
`brew install turbodocx/tap/cli` instead of `turbodocx/tap/turbodocx` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- CLAUDE.md: add CLI to package listing and build commands - README.md: add CLI section with install and usage examples - docs/ARCHITECTURE.md: add CLI design, package layout, testing - .claude/rules/cli.md: new CLI-specific development rules - .claude/rules/cross-sdk-parity.md: add CLI column to parity matrix - .claude/rules/testing.md: add CLI testing patterns Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Implement all TurboPartner partner management commands mirroring the
cmd/sign/ patterns: PartnerClient interface, mock injection, TDD with
59 tests covering human/JSON output and error cases.
Commands: partner org {create,list,get,update,delete,entitlements},
partner org user {list,add,update,remove,resend-invite},
partner org apikey {list,create,update,revoke},
partner apikey {list,create,update,revoke},
partner user {list,add,update,remove,resend-invite},
partner audit list.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
packages/cli/— Go + Cobra CLI wrapping the existing Go SDK for TurboSign digital signaturesWhat's included
~/.turbodocx/config.jsonwith flag > env > file resolution prioritysend,review,status,download,void,resend,audit--json), plain (--plain) modestest-clijob added to GitHub ActionsArchitecture
Test plan
go test -v ./...— 35 tests passinggo build -v .— binary builds successfully./turbodocx version— prints version infoturbodocx login,turbodocx sign status <id>test-clijob passesFollow-up PRs
partnercommands (org/user/apikey CRUD)npx turbodocx🤖 Generated with Claude Code