GitLedger CLI is the command line interface for GitLedger workflows.
It provides a developer friendly wrapper for backend checks, local config inspection, and future staking and review automation commands.
This repository is scaffolded as an open source TypeScript CLI foundation.
- Node.js 18+
npm installnpm run dev -- --helpnpm run buildgitledger --helpnpm run dev -- healthOverride backend URL:
npm run dev -- health --api-url https://backend-uuq8.onrender.comMachine-readable health output:
npm run dev -- health --jsonInitialize local config file (~/.gitledger/config.json):
npm run dev -- config:initShow effective config:
npm run dev -- config:showSet backend URL in config:
npm run dev -- config:set backendUrl https://backend-uuq8.onrender.comRead a config key:
npm run dev -- config:get backendUrlRun diagnostics (config + backend health):
npm run dev -- doctorsrc/index.tsCLI entrypointsrc/commands/command handlerssrc/config/local config store logicsrc/lib/shared output and utility helpers
See CONTRIBUTING.md.
See SECURITY.md.
MIT