archive-labs
v1.0.11
Published
Terminal CLI for Archive that manages login, repository status, sync, checks, impact analysis, and release risk.
Readme
Archive Labs CLI
Archive Labs CLI is a terminal client for Archive. It signs in, reads repository state, runs sync and checks, and supports text or JSON output.
Install
npm install -g archive-labs
archiveNo global install:
npx archive-labsCommands
Auth and setup
archive initSet the API and app targets for this workspace.archive loginSign in and store credentials for later commands.archive auth loginAlias for browser-based sign-in from onboarding flows.archive logoutRemove stored credentials from this machine.
Repository checks
archive statusShow repository health, readiness, and missing signals.archive syncRefresh the repository index and derived metadata.archive checkRun the default check for the current context.archive check pr <number>Review a pull request for merge readiness, impact, ownership, and blockers.archive check diffReview the current working tree before commit or push.archive eventsReview recent repository events.archive recentShow recently used commands.
Impact and release
archive impact file <path>Show what a file change affects across services and downstream paths.archive impact diffSummarize the impact of the current working tree.archive release summarize <tag>Summarize what is included in a release tag.archive release risk <tag>Review release risk before shipping.archive ask <question>Query the codebase in natural language.archive why <path>Show file or folder context from history and evidence.
Utilities
archive doctorInspect local config, auth, and runtime state.archive pingCheck API connectivity.archive helpShow the command list and usage.archive versionPrint the installed CLI version.
Example usage:
archive login
archive status
archive sync
archive check pr 182 --repository acme/payments --ci --json --strict
archive impact diff --json
archive release risk v1.2.0Output
Use --json when you need machine-readable output. Text output stays short and terminal-friendly.
Config
CLI config is stored under ~/.archive-labs/config.json.
Environment variables:
ARCHIVE_TOKENARCHIVE_LABS_TOKENARCHIVE_GITHUB_TOKEN
Publish
npm pack
npm publish