The source of samva, the command-line interface for the Samva email API, as published to npm:
| Package | Directory | What it is |
|---|---|---|
@samva/cli |
packages/cli |
The CLI, and the selector that runs the matching native executable |
@samva/cli-darwin-arm64 |
packages/cli-darwin-arm64 |
Native executable for macOS on Apple silicon |
@samva/cli-darwin-x64 |
packages/cli-darwin-x64 |
Native executable for macOS on Intel |
@samva/cli-linux-arm64 |
packages/cli-linux-arm64 |
Native executable for Linux on arm64 |
@samva/cli-linux-x64 |
packages/cli-linux-x64 |
Native executable for Linux on x64 |
npm install -g @samva/cli
samva --helpEach release also attaches a native executable for every platform above, as
samva-v<version>-<platform>.tar.gz, with a SHA256SUMS file. To install one without npm:
version=v0.26.0 # a release tag
platform=linux-x64 # darwin-arm64, darwin-x64, linux-arm64, or linux-x64
curl -fsSLO "https://github.com/SamvaHQ/samva-cli/releases/download/$version/samva-$version-$platform.tar.gz"
curl -fsSLO "https://github.com/SamvaHQ/samva-cli/releases/download/$version/SHA256SUMS"
sha256sum --check --ignore-missing SHA256SUMS
tar -xzf "samva-$version-$platform.tar.gz"
install -m 0755 samva /usr/local/bin/samvaOn macOS, use shasum -a 256 --check --ignore-missing SHA256SUMS. A browser download is
quarantined by macOS; xattr -d com.apple.quarantine samva clears it.
The CLI guide covers authentication and every command.
Samva's release process publishes each release's source here, exactly as it is built and published
to npm, and tags every CLI version as v<version>. The CLI imports Samva's internal @samva/core
and @samva/contracts modules and builds in Samva's own repository, so it does not build here. The
executables and the npm package bundle that code.
Issues and pull requests are welcome; CONTRIBUTING.md explains how a pull request reaches a release. See SECURITY.md for vulnerabilities.
MIT