Repository navigation
Release Notes
- The first release of the DocSpring CLI: a
docspringcommand for every operation in DocSpring's API v2, such as
docspring templates listanddocspring submissions create, with--jsonoutput for scripts and AI agents. docspring loginlogs in with your browser, anddocspring login --with-tokensaves an API token. Profiles keep
more than one account or region (--profile), and the tokens are kept in your system's keychain. Commands also read
DOCSPRING_TOKEN_IDandDOCSPRING_TOKEN_SECRET, for CI.docspring submitfills in a template and saves the PDF, or a Word template's Word document, and
docspring submissions downloadsaves a submission's PDF, Word document, audit trail or preview.docspring templates model-code --checkexits with status 5 when a file of generated types is out of date with its
template, for CI.--allgets every page of a list and prints all the items as one list.docspring exports downloadsaves the account export that DocSpring support sends when you ask for a copy of your
account's data.- Request bodies are checked against the API's schemas before they're sent, so a mistyped property name fails with the
same details as the API's 422 response. - Install it with Homebrew (
brew install docspring/tap/docspring), the shell or PowerShell installer,
cargo install --locked docspring-cli, or theDocSpring/docspring-cliGitHub Action.docspring updateupdates an
install from the installers.
Install docspring-cli 1.0.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/DocSpring/docspring-cli/releases/download/v1.0.0/docspring-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/DocSpring/docspring-cli/releases/download/v1.0.0/docspring-cli-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install DocSpring/tap/docspringDownload docspring-cli 1.0.0
| File | Platform | Checksum |
|---|---|---|
| docspring-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| docspring-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| docspring-cli-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| docspring-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| docspring-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| docspring-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo DocSpring/docspring-cliYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo DocSpring/docspring-cli