{
  "source": {
    "name": "clovis",
    "version": "1.3.0",
    "description": "Local-first bookkeeping CLI, MCP server, and SQLite ledger engine",
    "license": "AGPL-3.0-or-later",
    "node": ">=26.3.0",
    "bins": {
      "clovis": "dist/cli/main.js",
      "clovis-mcp": "dist/mcp/main.js"
    },
    "exports": {
      ".": {
        "types": "./dist/index.d.ts",
        "import": "./dist/index.js"
      },
      "./core": {
        "types": "./dist/core/index.d.ts",
        "import": "./dist/core/index.js"
      },
      "./app": {
        "types": "./dist/app/index.d.ts",
        "import": "./dist/app/index.js"
      },
      "./mcp": {
        "types": "./dist/mcp/index.d.ts",
        "import": "./dist/mcp/index.js"
      }
    }
  },
  "generatedBy": "apps/site/scripts/generate-clovis-docs.mjs",
  "install": {
    "global": "npm install -g clovis",
    "runOnce": "npx clovis"
  },
  "environment": [
    {
      "name": "CLOVIS_DB",
      "required": false,
      "description": "Ledger database path. Defaults to the local Clovis data directory."
    }
  ],
  "commands": [
    {
      "command": "clovis",
      "slug": "clovis",
      "path": [],
      "usage": "Usage: clovis [options] [command]",
      "description": "Local-first bookkeeping CLI",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--format <format>",
            "description": "Output format: json or table",
            "raw": "--format <format>      Output format: json or table"
          },
          {
            "term": "--db <path>",
            "description": "Path to ledger database (default: \"./ledger.db\")",
            "raw": "--db <path>            Path to ledger database (default: \"./ledger.db\")"
          },
          {
            "term": "-V, --version",
            "description": "output the version number",
            "raw": "-V, --version          output the version number"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help             display help for command"
          }
        ],
        "commands": [
          {
            "term": "tools",
            "description": "List every public app tool",
            "raw": "tools                  List every public app tool"
          },
          {
            "term": "doctor [options]",
            "description": "Run local diagnostics",
            "raw": "doctor [options]       Run local diagnostics"
          },
          {
            "term": "tool [options] <name>",
            "description": "Run any public app tool by name",
            "raw": "tool [options] <name>  Run any public app tool by name"
          },
          {
            "term": "account",
            "description": "Manage accounts",
            "raw": "account                Manage accounts"
          },
          {
            "term": "txn",
            "description": "Manage transactions",
            "raw": "txn                    Manage transactions"
          },
          {
            "term": "balance <account_id>",
            "description": "Show posted balances for an account",
            "raw": "balance <account_id>   Show posted balances for an account"
          },
          {
            "term": "init [options]",
            "description": "Initialize a ledger with default accounts",
            "raw": "init [options]         Initialize a ledger with default accounts"
          },
          {
            "term": "export [options]",
            "description": "Export transactions as CSV",
            "raw": "export [options]       Export transactions as CSV"
          },
          {
            "term": "import [options]",
            "description": "Import a CSV statement into an account",
            "raw": "import [options]       Import a CSV statement into an account"
          },
          {
            "term": "report",
            "description": "Run accounting reports",
            "raw": "report                 Run accounting reports"
          },
          {
            "term": "help [command]",
            "description": "display help for command",
            "raw": "help [command]         display help for command"
          }
        ],
        "examples": [
          "  clovis init --currency CAD",
          "  clovis account balances --type asset",
          "  clovis txn add --date 2026-06-01 --amount 100 --from <equity-id> --to <checking-id> --status posted",
          "  clovis report balance-sheet --quote CAD",
          "  clovis tool account_balances --json '{\"account_type\":\"asset\"}'"
        ],
        "notes": [
          "Default ledger: /home/clovis/.clovis/clovis.db",
          "Use --db or CLOVIS_DB to select another ledger.",
          "Use --format json for stable machine-readable output.",
          "Clovis does not infer report currency; report commands require --quote."
        ]
      },
      "help": "Usage: clovis [options] [command]\n\nLocal-first bookkeeping CLI\n\nOptions:\n  --format <format>      Output format: json or table\n  --db <path>            Path to ledger database (default: \"./ledger.db\")\n  -V, --version          output the version number\n  -h, --help             display help for command\n\nCommands:\n  tools                  List every public app tool\n  doctor [options]       Run local diagnostics\n  tool [options] <name>  Run any public app tool by name\n  account                Manage accounts\n  txn                    Manage transactions\n  balance <account_id>   Show posted balances for an account\n  init [options]         Initialize a ledger with default accounts\n  export [options]       Export transactions as CSV\n  import [options]       Import a CSV statement into an account\n  report                 Run accounting reports\n  help [command]         display help for command\n\nExamples:\n  clovis init --currency CAD\n  clovis account balances --type asset\n  clovis txn add --date 2026-06-01 --amount 100 --from <equity-id> --to <checking-id> --status posted\n  clovis report balance-sheet --quote CAD\n  clovis tool account_balances --json '{\"account_type\":\"asset\"}'\n\nNotes:\n  Default ledger: /home/clovis/.clovis/clovis.db\n  Use --db or CLOVIS_DB to select another ledger.\n  Use --format json for stable machine-readable output.\n  Clovis does not infer report currency; report commands require --quote."
    },
    {
      "command": "clovis tools",
      "slug": "tools",
      "path": [
        "tools"
      ],
      "usage": "Usage: clovis tools [options]",
      "description": "List every public app tool",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis --format json tools",
          "  clovis tools | grep account_balances"
        ],
        "notes": []
      },
      "help": "Usage: clovis tools [options]\n\nList every public app tool\n\nOptions:\n  -h, --help  display help for command\n\nExamples:\n  clovis --format json tools\n  clovis tools | grep account_balances"
    },
    {
      "command": "clovis doctor",
      "slug": "doctor",
      "path": [
        "doctor"
      ],
      "usage": "Usage: clovis doctor [options]",
      "description": "Run local diagnostics",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--read-only-tools",
            "description": "Exercise read-only tool paths",
            "raw": "--read-only-tools  Exercise read-only tool paths"
          },
          {
            "term": "--quote <asset>",
            "description": "Quote asset id or symbol for report checks",
            "raw": "--quote <asset>    Quote asset id or symbol for report checks"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis doctor --read-only-tools --quote CAD"
        ],
        "notes": [
          "The read-only suite does not mutate the ledger."
        ]
      },
      "help": "Usage: clovis doctor [options]\n\nRun local diagnostics\n\nOptions:\n  --read-only-tools  Exercise read-only tool paths\n  --quote <asset>    Quote asset id or symbol for report checks\n  -h, --help         display help for command\n\nExamples:\n  clovis doctor --read-only-tools --quote CAD\n\nNotes:\n  The read-only suite does not mutate the ledger."
    },
    {
      "command": "clovis tool",
      "slug": "tool",
      "path": [
        "tool"
      ],
      "usage": "Usage: clovis tool [options] <name>",
      "description": "Run any public app tool by name",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--json <json>",
            "description": "Tool args as a JSON object",
            "raw": "--json <json>  Tool args as a JSON object"
          },
          {
            "term": "--stdin",
            "description": "Read tool args as a JSON object from stdin",
            "raw": "--stdin        Read tool args as a JSON object from stdin"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help     display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis tool account_balances --json '{\"account_type\":\"asset\"}'",
          "  clovis tool import_transactions --stdin < args.json",
          "  clovis tool backup_now",
          "  clovis tool void_by_filter --json '{\"status\":\"planned\",\"date_to\":\"2026-05-31\"}'",
          "  clovis tool void_by_filter --json '{\"status\":\"planned\",\"date_to\":\"2026-05-31\",\"dry_run\":false}'"
        ],
        "notes": [
          "Run `clovis tools` to list tool names and signatures.",
          "Tool args must be a JSON object.",
          "File tools use ordinary filesystem permissions.",
          "Bulk mutation tools default to dry_run; pass dry_run:false to apply."
        ]
      },
      "help": "Usage: clovis tool [options] <name>\n\nRun any public app tool by name\n\nOptions:\n  --json <json>  Tool args as a JSON object\n  --stdin        Read tool args as a JSON object from stdin\n  -h, --help     display help for command\n\nExamples:\n  clovis tool account_balances --json '{\"account_type\":\"asset\"}'\n  clovis tool import_transactions --stdin < args.json\n  clovis tool backup_now\n  clovis tool void_by_filter --json '{\"status\":\"planned\",\"date_to\":\"2026-05-31\"}'\n  clovis tool void_by_filter --json '{\"status\":\"planned\",\"date_to\":\"2026-05-31\",\"dry_run\":false}'\n\nNotes:\n  Run `clovis tools` to list tool names and signatures.\n  Tool args must be a JSON object.\n  File tools use ordinary filesystem permissions.\n  Bulk mutation tools default to dry_run; pass dry_run:false to apply."
    },
    {
      "command": "clovis account",
      "slug": "account",
      "path": [
        "account"
      ],
      "usage": "Usage: clovis account [options] [command]",
      "description": "Manage accounts",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help             display help for command"
          }
        ],
        "commands": [
          {
            "term": "add [options]",
            "description": "Create an account",
            "raw": "add [options]          Create an account"
          },
          {
            "term": "balances [options]",
            "description": "List posted, pending, and current balances by account and asset",
            "raw": "balances [options]     List posted, pending, and current balances by account and asset"
          },
          {
            "term": "list [options]",
            "description": "List accounts",
            "raw": "list [options]         List accounts"
          },
          {
            "term": "get <id>",
            "description": "Show one account",
            "raw": "get <id>               Show one account"
          },
          {
            "term": "update [options] <id>",
            "description": "Update an account",
            "raw": "update [options] <id>  Update an account"
          },
          {
            "term": "delete <id>",
            "description": "Delete an unused account",
            "raw": "delete <id>            Delete an unused account"
          },
          {
            "term": "help [command]",
            "description": "display help for command",
            "raw": "help [command]         display help for command"
          }
        ],
        "examples": [
          "  clovis account list",
          "  clovis account balances --type asset",
          "  clovis account add --name \"Cash\" --type asset"
        ],
        "notes": []
      },
      "help": "Usage: clovis account [options] [command]\n\nManage accounts\n\nOptions:\n  -h, --help             display help for command\n\nCommands:\n  add [options]          Create an account\n  balances [options]     List posted, pending, and current balances by account\n                         and asset\n  list [options]         List accounts\n  get <id>               Show one account\n  update [options] <id>  Update an account\n  delete <id>            Delete an unused account\n  help [command]         display help for command\n\nExamples:\n  clovis account list\n  clovis account balances --type asset\n  clovis account add --name \"Cash\" --type asset"
    },
    {
      "command": "clovis account add",
      "slug": "account-add",
      "path": [
        "account",
        "add"
      ],
      "usage": "Usage: clovis account add [options]",
      "description": "Create an account",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--name <name>",
            "description": "Account name",
            "raw": "--name <name>  Account name"
          },
          {
            "term": "--type <type>",
            "description": "Account type: asset, liability, equity, income, or expense",
            "raw": "--type <type>  Account type: asset, liability, equity, income, or expense"
          },
          {
            "term": "--code <code>",
            "description": "Optional account code (default: \"\")",
            "raw": "--code <code>  Optional account code (default: \"\")"
          },
          {
            "term": "--parent <id>",
            "description": "Parent account id",
            "raw": "--parent <id>  Parent account id"
          },
          {
            "term": "--color <hex>",
            "description": "Account color (default: \"#888888\")",
            "raw": "--color <hex>  Account color (default: \"#888888\")"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help     display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis account add --name \"Operating Cash\" --type asset --code 1000",
          "  clovis account add --name \"Dining Out\" --type expense --color '#7c3aed'"
        ],
        "notes": []
      },
      "help": "Usage: clovis account add [options]\n\nCreate an account\n\nOptions:\n  --name <name>  Account name\n  --type <type>  Account type: asset, liability, equity, income, or expense\n  --code <code>  Optional account code (default: \"\")\n  --parent <id>  Parent account id\n  --color <hex>  Account color (default: \"#888888\")\n  -h, --help     display help for command\n\nExamples:\n  clovis account add --name \"Operating Cash\" --type asset --code 1000\n  clovis account add --name \"Dining Out\" --type expense --color '#7c3aed'"
    },
    {
      "command": "clovis account balances",
      "slug": "account-balances",
      "path": [
        "account",
        "balances"
      ],
      "usage": "Usage: clovis account balances [options]",
      "description": "List posted, pending, and current balances by account and asset",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--type <type>",
            "description": "Account type",
            "raw": "--type <type>          Account type"
          },
          {
            "term": "--asset <id>",
            "description": "Asset id or symbol",
            "raw": "--asset <id>           Asset id or symbol"
          },
          {
            "term": "--entity <id>",
            "description": "Scope to an account group",
            "raw": "--entity <id>          Scope to an account group"
          },
          {
            "term": "--parent <id>",
            "description": "Alias for --entity",
            "raw": "--parent <id>          Alias for --entity"
          },
          {
            "term": "--account <id>",
            "description": "Restrict to an account or account subtree; may be repeated (default: [])",
            "raw": "--account <id>         Restrict to an account or account subtree; may be repeated (default: [])"
          },
          {
            "term": "--as-of <date>",
            "description": "Balance date, YYYY-MM-DD",
            "raw": "--as-of <date>         Balance date, YYYY-MM-DD"
          },
          {
            "term": "--rollup",
            "description": "Roll balances up through same-type account children",
            "raw": "--rollup               Roll balances up through same-type account children"
          },
          {
            "term": "--native-only",
            "description": "Only include each account's native/default asset",
            "raw": "--native-only          Only include each account's native/default asset"
          },
          {
            "term": "--presentation <mode>",
            "description": "Display mode: ledger, bank, or banking (default: \"ledger\")",
            "raw": "--presentation <mode>  Display mode: ledger, bank, or banking (default: \"ledger\")"
          },
          {
            "term": "--show-zero",
            "description": "Include zero-balance rows",
            "raw": "--show-zero            Include zero-balance rows"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help             display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis account balances --type asset",
          "  clovis account balances --type liability --asset CAD",
          "  clovis --format json account balances --type asset --show-zero"
        ],
        "notes": [
          "Balances are reported in their native asset; Clovis does not silently convert currencies.",
          "Current balance is posted plus pending."
        ]
      },
      "help": "Usage: clovis account balances [options]\n\nList posted, pending, and current balances by account and asset\n\nOptions:\n  --type <type>          Account type\n  --asset <id>           Asset id or symbol\n  --entity <id>          Scope to an account group\n  --parent <id>          Alias for --entity\n  --account <id>         Restrict to an account or account subtree; may be\n                         repeated (default: [])\n  --as-of <date>         Balance date, YYYY-MM-DD\n  --rollup               Roll balances up through same-type account children\n  --native-only          Only include each account's native/default asset\n  --presentation <mode>  Display mode: ledger, bank, or banking (default:\n                         \"ledger\")\n  --show-zero            Include zero-balance rows\n  -h, --help             display help for command\n\nExamples:\n  clovis account balances --type asset\n  clovis account balances --type liability --asset CAD\n  clovis --format json account balances --type asset --show-zero\n\nNotes:\n  Balances are reported in their native asset; Clovis does not silently convert currencies.\n  Current balance is posted plus pending."
    },
    {
      "command": "clovis account list",
      "slug": "account-list",
      "path": [
        "account",
        "list"
      ],
      "usage": "Usage: clovis account list [options]",
      "description": "List accounts",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--type <type>",
            "description": "Account type",
            "raw": "--type <type>  Account type"
          },
          {
            "term": "--parent <id>",
            "description": "Parent account id",
            "raw": "--parent <id>  Parent account id"
          },
          {
            "term": "--tree",
            "description": "Include account tree context",
            "raw": "--tree         Include account tree context"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help     display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis account list",
          "  clovis --format json account list --type expense"
        ],
        "notes": []
      },
      "help": "Usage: clovis account list [options]\n\nList accounts\n\nOptions:\n  --type <type>  Account type\n  --parent <id>  Parent account id\n  --tree         Include account tree context\n  -h, --help     display help for command\n\nExamples:\n  clovis account list\n  clovis --format json account list --type expense"
    },
    {
      "command": "clovis account get",
      "slug": "account-get",
      "path": [
        "account",
        "get"
      ],
      "usage": "Usage: clovis account get [options] <id>",
      "description": "Show one account",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis account get [options] <id>\n\nShow one account\n\nOptions:\n  -h, --help  display help for command"
    },
    {
      "command": "clovis account update",
      "slug": "account-update",
      "path": [
        "account",
        "update"
      ],
      "usage": "Usage: clovis account update [options] <id>",
      "description": "Update an account",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--name <name>",
            "description": "Account name",
            "raw": "--name <name>  Account name"
          },
          {
            "term": "--type <type>",
            "description": "Account type: asset, liability, equity, income, or expense",
            "raw": "--type <type>  Account type: asset, liability, equity, income, or expense"
          },
          {
            "term": "--code <code>",
            "description": "Optional account code",
            "raw": "--code <code>  Optional account code"
          },
          {
            "term": "--parent <id>",
            "description": "Parent account id",
            "raw": "--parent <id>  Parent account id"
          },
          {
            "term": "--color <hex>",
            "description": "Account color",
            "raw": "--color <hex>  Account color"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help     display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis account update [options] <id>\n\nUpdate an account\n\nOptions:\n  --name <name>  Account name\n  --type <type>  Account type: asset, liability, equity, income, or expense\n  --code <code>  Optional account code\n  --parent <id>  Parent account id\n  --color <hex>  Account color\n  -h, --help     display help for command"
    },
    {
      "command": "clovis account delete",
      "slug": "account-delete",
      "path": [
        "account",
        "delete"
      ],
      "usage": "Usage: clovis account delete [options] <id>",
      "description": "Delete an unused account",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis account delete [options] <id>\n\nDelete an unused account\n\nOptions:\n  -h, --help  display help for command"
    },
    {
      "command": "clovis txn",
      "slug": "txn",
      "path": [
        "txn"
      ],
      "usage": "Usage: clovis txn [options] [command]",
      "description": "Manage transactions",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help                      display help for command"
          }
        ],
        "commands": [
          {
            "term": "add [options]",
            "description": "Record a two-sided transaction",
            "raw": "add [options]                   Record a two-sided transaction"
          },
          {
            "term": "transfer [options]",
            "description": "Record a same-asset transfer between balance-sheet accounts",
            "raw": "transfer [options]              Record a same-asset transfer between balance-sheet accounts"
          },
          {
            "term": "journal [options]",
            "description": "Post a manual journal entry",
            "raw": "journal [options]               Post a manual journal entry"
          },
          {
            "term": "opening-balance [options]",
            "description": "Record an opening balance",
            "raw": "opening-balance [options]       Record an opening balance"
          },
          {
            "term": "list [options]",
            "description": "List transactions",
            "raw": "list [options]                  List transactions"
          },
          {
            "term": "get <id>",
            "description": "Show one transaction",
            "raw": "get <id>                        Show one transaction"
          },
          {
            "term": "delete [options] <id>",
            "description": "Void a transaction, or hard-delete with --hard",
            "raw": "delete [options] <id>           Void a transaction, or hard-delete with --hard"
          },
          {
            "term": "entries <tx_id>",
            "description": "List journal entries for a transaction",
            "raw": "entries <tx_id>                 List journal entries for a transaction"
          },
          {
            "term": "recategorize [options] <tx_id>",
            "description": "Recategorize a transaction",
            "raw": "recategorize [options] <tx_id>  Recategorize a transaction"
          },
          {
            "term": "help [command]",
            "description": "display help for command",
            "raw": "help [command]                  display help for command"
          }
        ],
        "examples": [
          "  clovis txn add --date 2026-06-01 --amount 100 --from <income-id> --to <checking-id> --status pending",
          "  clovis txn transfer --date 2026-06-02 --amount 50 --from <checking-id> --to <savings-id>",
          "  clovis txn list --status pending"
        ],
        "notes": []
      },
      "help": "Usage: clovis txn [options] [command]\n\nManage transactions\n\nOptions:\n  -h, --help                      display help for command\n\nCommands:\n  add [options]                   Record a two-sided transaction\n  transfer [options]              Record a same-asset transfer between\n                                  balance-sheet accounts\n  journal [options]               Post a manual journal entry\n  opening-balance [options]       Record an opening balance\n  list [options]                  List transactions\n  get <id>                        Show one transaction\n  delete [options] <id>           Void a transaction, or hard-delete with --hard\n  entries <tx_id>                 List journal entries for a transaction\n  recategorize [options] <tx_id>  Recategorize a transaction\n  help [command]                  display help for command\n\nExamples:\n  clovis txn add --date 2026-06-01 --amount 100 --from <income-id> --to <checking-id> --status pending\n  clovis txn transfer --date 2026-06-02 --amount 50 --from <checking-id> --to <savings-id>\n  clovis txn list --status pending"
    },
    {
      "command": "clovis txn add",
      "slug": "txn-add",
      "path": [
        "txn",
        "add"
      ],
      "usage": "Usage: clovis txn add [options]",
      "description": "Record a two-sided transaction",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--date <date>",
            "description": "Transaction date, YYYY-MM-DD",
            "raw": "--date <date>         Transaction date, YYYY-MM-DD"
          },
          {
            "term": "--amount <amount>",
            "description": "Positive decimal amount in the transaction asset",
            "raw": "--amount <amount>     Positive decimal amount in the transaction asset"
          },
          {
            "term": "--from <id>",
            "description": "Source account id",
            "raw": "--from <id>           Source account id"
          },
          {
            "term": "--to <id>",
            "description": "Destination account id",
            "raw": "--to <id>             Destination account id"
          },
          {
            "term": "--desc <description>",
            "description": "Transaction description (default: \"\")",
            "raw": "--desc <description>  Transaction description (default: \"\")"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status: posted, pending, planned, or void (default: \"pending\")",
            "raw": "--status <status>     Transaction status: posted, pending, planned, or void (default: \"pending\")"
          },
          {
            "term": "--asset <id>",
            "description": "Asset id or symbol; required when account default assets differ",
            "raw": "--asset <id>          Asset id or symbol; required when account default assets differ"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help            display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis txn add --date 2026-06-01 --amount 100 --from <salary-id> --to <checking-id> --desc \"Pay\" --status posted",
          "  clovis txn add --date 2026-06-03 --amount 12.50 --from <checking-id> --to <dining-id>"
        ],
        "notes": [
          "Default status is pending."
        ]
      },
      "help": "Usage: clovis txn add [options]\n\nRecord a two-sided transaction\n\nOptions:\n  --date <date>         Transaction date, YYYY-MM-DD\n  --amount <amount>     Positive decimal amount in the transaction asset\n  --from <id>           Source account id\n  --to <id>             Destination account id\n  --desc <description>  Transaction description (default: \"\")\n  --status <status>     Transaction status: posted, pending, planned, or void\n                        (default: \"pending\")\n  --asset <id>          Asset id or symbol; required when account default assets\n                        differ\n  -h, --help            display help for command\n\nExamples:\n  clovis txn add --date 2026-06-01 --amount 100 --from <salary-id> --to <checking-id> --desc \"Pay\" --status posted\n  clovis txn add --date 2026-06-03 --amount 12.50 --from <checking-id> --to <dining-id>\n\nNotes:\n  Default status is pending."
    },
    {
      "command": "clovis txn transfer",
      "slug": "txn-transfer",
      "path": [
        "txn",
        "transfer"
      ],
      "usage": "Usage: clovis txn transfer [options]",
      "description": "Record a same-asset transfer between balance-sheet accounts",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--from <id>",
            "description": "Source account id",
            "raw": "--from <id>           Source account id"
          },
          {
            "term": "--to <id>",
            "description": "Destination account id",
            "raw": "--to <id>             Destination account id"
          },
          {
            "term": "--amount <amount>",
            "description": "Positive decimal amount",
            "raw": "--amount <amount>     Positive decimal amount"
          },
          {
            "term": "--date <date>",
            "description": "Transaction date, YYYY-MM-DD",
            "raw": "--date <date>         Transaction date, YYYY-MM-DD"
          },
          {
            "term": "--desc <description>",
            "description": "Transfer description (default: \"Transfer\")",
            "raw": "--desc <description>  Transfer description (default: \"Transfer\")"
          },
          {
            "term": "--asset <id>",
            "description": "Asset id or symbol",
            "raw": "--asset <id>          Asset id or symbol"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help            display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis txn transfer --date 2026-06-02 --amount 250 --from <checking-id> --to <savings-id>",
          "  clovis txn transfer --date 2026-06-02 --amount 79 --asset USD --from <usd-checking-id> --to <usd-savings-id>"
        ],
        "notes": []
      },
      "help": "Usage: clovis txn transfer [options]\n\nRecord a same-asset transfer between balance-sheet accounts\n\nOptions:\n  --from <id>           Source account id\n  --to <id>             Destination account id\n  --amount <amount>     Positive decimal amount\n  --date <date>         Transaction date, YYYY-MM-DD\n  --desc <description>  Transfer description (default: \"Transfer\")\n  --asset <id>          Asset id or symbol\n  -h, --help            display help for command\n\nExamples:\n  clovis txn transfer --date 2026-06-02 --amount 250 --from <checking-id> --to <savings-id>\n  clovis txn transfer --date 2026-06-02 --amount 79 --asset USD --from <usd-checking-id> --to <usd-savings-id>"
    },
    {
      "command": "clovis txn journal",
      "slug": "txn-journal",
      "path": [
        "txn",
        "journal"
      ],
      "usage": "Usage: clovis txn journal [options]",
      "description": "Post a manual journal entry",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--date <date>",
            "description": "Journal date, YYYY-MM-DD",
            "raw": "--date <date>         Journal date, YYYY-MM-DD"
          },
          {
            "term": "--leg <leg...>",
            "description": "account_id:amount",
            "raw": "--leg <leg...>        account_id:amount"
          },
          {
            "term": "--desc <description>",
            "description": "Journal description (default: \"\")",
            "raw": "--desc <description>  Journal description (default: \"\")"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status: posted, pending, planned, or void (default: \"pending\")",
            "raw": "--status <status>     Transaction status: posted, pending, planned, or void (default: \"pending\")"
          },
          {
            "term": "--asset <id>",
            "description": "Default asset id or symbol for legs without asset ids",
            "raw": "--asset <id>          Default asset id or symbol for legs without asset ids"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help            display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis txn journal --date 2026-06-30 --leg <debit-account>:10 --leg <credit-account>:-10 --asset CAD"
        ],
        "notes": [
          "Leg amounts must balance per asset."
        ]
      },
      "help": "Usage: clovis txn journal [options]\n\nPost a manual journal entry\n\nOptions:\n  --date <date>         Journal date, YYYY-MM-DD\n  --leg <leg...>        account_id:amount\n  --desc <description>  Journal description (default: \"\")\n  --status <status>     Transaction status: posted, pending, planned, or void\n                        (default: \"pending\")\n  --asset <id>          Default asset id or symbol for legs without asset ids\n  -h, --help            display help for command\n\nExamples:\n  clovis txn journal --date 2026-06-30 --leg <debit-account>:10 --leg <credit-account>:-10 --asset CAD\n\nNotes:\n  Leg amounts must balance per asset."
    },
    {
      "command": "clovis txn opening-balance",
      "slug": "txn-opening-balance",
      "path": [
        "txn",
        "opening-balance"
      ],
      "usage": "Usage: clovis txn opening-balance [options]",
      "description": "Record an opening balance",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--account <id>",
            "description": "Account id receiving the opening balance",
            "raw": "--account <id>      Account id receiving the opening balance"
          },
          {
            "term": "--amount <amount>",
            "description": "Decimal opening amount",
            "raw": "--amount <amount>   Decimal opening amount"
          },
          {
            "term": "--date <date>",
            "description": "Opening date, YYYY-MM-DD",
            "raw": "--date <date>       Opening date, YYYY-MM-DD"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status: posted, pending, planned, or void (default: \"pending\")",
            "raw": "--status <status>   Transaction status: posted, pending, planned, or void (default: \"pending\")"
          },
          {
            "term": "--asset <id>",
            "description": "Asset id or symbol",
            "raw": "--asset <id>        Asset id or symbol"
          },
          {
            "term": "--counterpart <id>",
            "description": "Counterpart equity account id",
            "raw": "--counterpart <id>  Counterpart equity account id"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help          display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis txn opening-balance --account <checking-id> --amount 125 --date 2026-05-31 --status posted"
        ],
        "notes": []
      },
      "help": "Usage: clovis txn opening-balance [options]\n\nRecord an opening balance\n\nOptions:\n  --account <id>      Account id receiving the opening balance\n  --amount <amount>   Decimal opening amount\n  --date <date>       Opening date, YYYY-MM-DD\n  --status <status>   Transaction status: posted, pending, planned, or void\n                      (default: \"pending\")\n  --asset <id>        Asset id or symbol\n  --counterpart <id>  Counterpart equity account id\n  -h, --help          display help for command\n\nExamples:\n  clovis txn opening-balance --account <checking-id> --amount 125 --date 2026-05-31 --status posted"
    },
    {
      "command": "clovis txn list",
      "slug": "txn-list",
      "path": [
        "txn",
        "list"
      ],
      "usage": "Usage: clovis txn list [options]",
      "description": "List transactions",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--account <id>",
            "description": "Filter by account id",
            "raw": "--account <id>     Filter by account id"
          },
          {
            "term": "--year <year>",
            "description": "Filter by UTC year",
            "raw": "--year <year>      Filter by UTC year"
          },
          {
            "term": "--month <month>",
            "description": "Filter by month, 1-12",
            "raw": "--month <month>    Filter by month, 1-12"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status filter: posted, pending, planned, void, active, combined, or all",
            "raw": "--status <status>  Transaction status filter: posted, pending, planned, void, active, combined, or all"
          },
          {
            "term": "--desc <desc>",
            "description": "Case-insensitive description search",
            "raw": "--desc <desc>      Case-insensitive description search"
          },
          {
            "term": "--limit <n>",
            "description": "Maximum rows (default: \"50\")",
            "raw": "--limit <n>        Maximum rows (default: \"50\")"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis txn list --status pending",
          "  clovis --format json txn list --account <checking-id> --limit 100"
        ],
        "notes": []
      },
      "help": "Usage: clovis txn list [options]\n\nList transactions\n\nOptions:\n  --account <id>     Filter by account id\n  --year <year>      Filter by UTC year\n  --month <month>    Filter by month, 1-12\n  --status <status>  Transaction status filter: posted, pending, planned, void,\n                     active, combined, or all\n  --desc <desc>      Case-insensitive description search\n  --limit <n>        Maximum rows (default: \"50\")\n  -h, --help         display help for command\n\nExamples:\n  clovis txn list --status pending\n  clovis --format json txn list --account <checking-id> --limit 100"
    },
    {
      "command": "clovis txn get",
      "slug": "txn-get",
      "path": [
        "txn",
        "get"
      ],
      "usage": "Usage: clovis txn get [options] <id>",
      "description": "Show one transaction",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis txn get [options] <id>\n\nShow one transaction\n\nOptions:\n  -h, --help  display help for command"
    },
    {
      "command": "clovis txn delete",
      "slug": "txn-delete",
      "path": [
        "txn",
        "delete"
      ],
      "usage": "Usage: clovis txn delete [options] <id>",
      "description": "Void a transaction, or hard-delete with --hard",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--hard",
            "description": "Physically delete instead of voiding",
            "raw": "--hard      Physically delete instead of voiding"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis txn delete [options] <id>\n\nVoid a transaction, or hard-delete with --hard\n\nOptions:\n  --hard      Physically delete instead of voiding\n  -h, --help  display help for command"
    },
    {
      "command": "clovis txn entries",
      "slug": "txn-entries",
      "path": [
        "txn",
        "entries"
      ],
      "usage": "Usage: clovis txn entries [options] <tx_id>",
      "description": "List journal entries for a transaction",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis txn entries [options] <tx_id>\n\nList journal entries for a transaction\n\nOptions:\n  -h, --help  display help for command"
    },
    {
      "command": "clovis txn recategorize",
      "slug": "txn-recategorize",
      "path": [
        "txn",
        "recategorize"
      ],
      "usage": "Usage: clovis txn recategorize [options] <tx_id>",
      "description": "Recategorize a transaction",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--from <id>",
            "description": "Current account id",
            "raw": "--from <id>  Current account id"
          },
          {
            "term": "--to <id>",
            "description": "New account id",
            "raw": "--to <id>    New account id"
          },
          {
            "term": "--dry-run",
            "description": "Preview the correction without applying it",
            "raw": "--dry-run    Preview the correction without applying it"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help   display help for command"
          }
        ],
        "commands": [],
        "examples": [],
        "notes": []
      },
      "help": "Usage: clovis txn recategorize [options] <tx_id>\n\nRecategorize a transaction\n\nOptions:\n  --from <id>  Current account id\n  --to <id>    New account id\n  --dry-run    Preview the correction without applying it\n  -h, --help   display help for command"
    },
    {
      "command": "clovis balance",
      "slug": "balance",
      "path": [
        "balance"
      ],
      "usage": "Usage: clovis balance [options] <account_id>",
      "description": "Show posted balances for an account",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help  display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis balance <checking-id>"
        ],
        "notes": [
          "Use `clovis account balances` for posted, pending, and current balances across accounts."
        ]
      },
      "help": "Usage: clovis balance [options] <account_id>\n\nShow posted balances for an account\n\nOptions:\n  -h, --help  display help for command\n\nExamples:\n  clovis balance <checking-id>\n\nNotes:\n  Use `clovis account balances` for posted, pending, and current balances across accounts."
    },
    {
      "command": "clovis init",
      "slug": "init",
      "path": [
        "init"
      ],
      "usage": "Usage: clovis init [options]",
      "description": "Initialize a ledger with default accounts",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--template <template>",
            "description": "Default account template (default: \"personal\")",
            "raw": "--template <template>  Default account template (default: \"personal\")"
          },
          {
            "term": "--currency <symbol>",
            "description": "Explicit setup currency symbol, e.g. CAD or USD",
            "raw": "--currency <symbol>    Explicit setup currency symbol, e.g. CAD or USD"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help             display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis init --currency CAD"
        ],
        "notes": [
          "Clovis does not infer a default currency."
        ]
      },
      "help": "Usage: clovis init [options]\n\nInitialize a ledger with default accounts\n\nOptions:\n  --template <template>  Default account template (default: \"personal\")\n  --currency <symbol>    Explicit setup currency symbol, e.g. CAD or USD\n  -h, --help             display help for command\n\nExamples:\n  clovis init --currency CAD\n\nNotes:\n  Clovis does not infer a default currency."
    },
    {
      "command": "clovis export",
      "slug": "export",
      "path": [
        "export"
      ],
      "usage": "Usage: clovis export [options]",
      "description": "Export transactions as CSV",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--account <id>",
            "description": "Filter by account id",
            "raw": "--account <id>     Filter by account id"
          },
          {
            "term": "--from <date>",
            "description": "Start date, YYYY-MM-DD",
            "raw": "--from <date>      Start date, YYYY-MM-DD"
          },
          {
            "term": "--to <date>",
            "description": "End date, YYYY-MM-DD",
            "raw": "--to <date>        End date, YYYY-MM-DD"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status filter: posted, pending, planned, void, active, combined, or all",
            "raw": "--status <status>  Transaction status filter: posted, pending, planned, void, active, combined, or all"
          },
          {
            "term": "--output <path>",
            "description": "Write CSV file",
            "raw": "--output <path>    Write CSV file"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis export --from 2026-06-01 --to 2026-06-30 --output june.csv",
          "  clovis --format json export --account <checking-id>"
        ],
        "notes": []
      },
      "help": "Usage: clovis export [options]\n\nExport transactions as CSV\n\nOptions:\n  --account <id>     Filter by account id\n  --from <date>      Start date, YYYY-MM-DD\n  --to <date>        End date, YYYY-MM-DD\n  --status <status>  Transaction status filter: posted, pending, planned, void,\n                     active, combined, or all\n  --output <path>    Write CSV file\n  -h, --help         display help for command\n\nExamples:\n  clovis export --from 2026-06-01 --to 2026-06-30 --output june.csv\n  clovis --format json export --account <checking-id>"
    },
    {
      "command": "clovis import",
      "slug": "import",
      "path": [
        "import"
      ],
      "usage": "Usage: clovis import [options]",
      "description": "Import a CSV statement into an account",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--file <path>",
            "description": "CSV file path",
            "raw": "--file <path>        CSV file path"
          },
          {
            "term": "--account <id>",
            "description": "Destination account id",
            "raw": "--account <id>       Destination account id"
          },
          {
            "term": "--counterpart <id>",
            "description": "Counterpart/category account id for imported rows",
            "raw": "--counterpart <id>   Counterpart/category account id for imported rows"
          },
          {
            "term": "--currency <symbol>",
            "description": "Explicit asset symbol if the file differs from the account default",
            "raw": "--currency <symbol>  Explicit asset symbol if the file differs from the account default"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status: posted, pending, planned, or void (default: \"pending\")",
            "raw": "--status <status>    Transaction status: posted, pending, planned, or void (default: \"pending\")"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help           display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis import --file statement.csv --account <checking-id> --counterpart <uncategorized-id>",
          "  clovis import --file visa.csv --account <card-id> --counterpart <uncategorized-id> --status pending"
        ],
        "notes": [
          "Default status is pending so imported rows can be reviewed before posting.",
          "File paths use ordinary filesystem permissions."
        ]
      },
      "help": "Usage: clovis import [options]\n\nImport a CSV statement into an account\n\nOptions:\n  --file <path>        CSV file path\n  --account <id>       Destination account id\n  --counterpart <id>   Counterpart/category account id for imported rows\n  --currency <symbol>  Explicit asset symbol if the file differs from the\n                       account default\n  --status <status>    Transaction status: posted, pending, planned, or void\n                       (default: \"pending\")\n  -h, --help           display help for command\n\nExamples:\n  clovis import --file statement.csv --account <checking-id> --counterpart <uncategorized-id>\n  clovis import --file visa.csv --account <card-id> --counterpart <uncategorized-id> --status pending\n\nNotes:\n  Default status is pending so imported rows can be reviewed before posting.\n  File paths use ordinary filesystem permissions."
    },
    {
      "command": "clovis report",
      "slug": "report",
      "path": [
        "report"
      ],
      "usage": "Usage: clovis report [options] [command]",
      "description": "Run accounting reports",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help                  display help for command"
          }
        ],
        "commands": [
          {
            "term": "income-statement [options]",
            "description": "Report income, expenses, and net income",
            "raw": "income-statement [options]  Report income, expenses, and net income"
          },
          {
            "term": "balance-sheet [options]",
            "description": "Report assets, liabilities, and equity",
            "raw": "balance-sheet [options]     Report assets, liabilities, and equity"
          },
          {
            "term": "net-worth [options]",
            "description": "Report net worth",
            "raw": "net-worth [options]         Report net worth"
          },
          {
            "term": "spending [options]",
            "description": "Report spending by category",
            "raw": "spending [options]          Report spending by category"
          },
          {
            "term": "cash-flow [options]",
            "description": "Report cash flow by activity",
            "raw": "cash-flow [options]         Report cash flow by activity"
          },
          {
            "term": "register [options]",
            "description": "Show an account register",
            "raw": "register [options]          Show an account register"
          },
          {
            "term": "trial-balance [options]",
            "description": "Show debit and credit totals for one asset",
            "raw": "trial-balance [options]     Show debit and credit totals for one asset"
          },
          {
            "term": "help [command]",
            "description": "display help for command",
            "raw": "help [command]              display help for command"
          }
        ],
        "examples": [
          "  clovis report balance-sheet --quote CAD",
          "  clovis report income-statement --year 2026 --month 6 --quote CAD",
          "  clovis report register --account <checking-id> --status posted"
        ],
        "notes": [
          "Reports require explicit quote assets; Clovis does not infer report currency."
        ]
      },
      "help": "Usage: clovis report [options] [command]\n\nRun accounting reports\n\nOptions:\n  -h, --help                  display help for command\n\nCommands:\n  income-statement [options]  Report income, expenses, and net income\n  balance-sheet [options]     Report assets, liabilities, and equity\n  net-worth [options]         Report net worth\n  spending [options]          Report spending by category\n  cash-flow [options]         Report cash flow by activity\n  register [options]          Show an account register\n  trial-balance [options]     Show debit and credit totals for one asset\n  help [command]              display help for command\n\nExamples:\n  clovis report balance-sheet --quote CAD\n  clovis report income-statement --year 2026 --month 6 --quote CAD\n  clovis report register --account <checking-id> --status posted\n\nNotes:\n  Reports require explicit quote assets; Clovis does not infer report currency."
    },
    {
      "command": "clovis report income-statement",
      "slug": "report-income-statement",
      "path": [
        "report",
        "income-statement"
      ],
      "usage": "Usage: clovis report income-statement [options]",
      "description": "Report income, expenses, and net income",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--year <year>",
            "description": "UTC year",
            "raw": "--year <year>    UTC year"
          },
          {
            "term": "--month <month>",
            "description": "Month, 1-12",
            "raw": "--month <month>  Month, 1-12"
          },
          {
            "term": "--quote <asset>",
            "description": "Quote asset symbol or id",
            "raw": "--quote <asset>  Quote asset symbol or id"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help       display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report income-statement --year 2026 --month 6 --quote CAD"
        ],
        "notes": []
      },
      "help": "Usage: clovis report income-statement [options]\n\nReport income, expenses, and net income\n\nOptions:\n  --year <year>    UTC year\n  --month <month>  Month, 1-12\n  --quote <asset>  Quote asset symbol or id\n  -h, --help       display help for command\n\nExamples:\n  clovis report income-statement --year 2026 --month 6 --quote CAD"
    },
    {
      "command": "clovis report balance-sheet",
      "slug": "report-balance-sheet",
      "path": [
        "report",
        "balance-sheet"
      ],
      "usage": "Usage: clovis report balance-sheet [options]",
      "description": "Report assets, liabilities, and equity",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--date <date>",
            "description": "As-of date, YYYY-MM-DD",
            "raw": "--date <date>      As-of date, YYYY-MM-DD"
          },
          {
            "term": "--quote <asset>",
            "description": "Quote asset symbol or id",
            "raw": "--quote <asset>    Quote asset symbol or id"
          },
          {
            "term": "--entity <id>",
            "description": "Scope to an account group",
            "raw": "--entity <id>      Scope to an account group"
          },
          {
            "term": "--parent <id>",
            "description": "Alias for --entity",
            "raw": "--parent <id>      Alias for --entity"
          },
          {
            "term": "--account <id>",
            "description": "Restrict to an account or account subtree; may be repeated (default: [])",
            "raw": "--account <id>     Restrict to an account or account subtree; may be repeated (default: [])"
          },
          {
            "term": "--include-pending",
            "description": "Include pending transactions; current balance-sheet reports include them by default",
            "raw": "--include-pending  Include pending transactions; current balance-sheet reports include them by default"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status filter: posted, pending, planned, void, active, combined, or all",
            "raw": "--status <status>  Transaction status filter: posted, pending, planned, void, active, combined, or all"
          },
          {
            "term": "--hide-zero",
            "description": "Hide zero-balance rows",
            "raw": "--hide-zero        Hide zero-balance rows"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report balance-sheet --date 2026-06-30 --quote CAD --parent Personal"
        ],
        "notes": []
      },
      "help": "Usage: clovis report balance-sheet [options]\n\nReport assets, liabilities, and equity\n\nOptions:\n  --date <date>      As-of date, YYYY-MM-DD\n  --quote <asset>    Quote asset symbol or id\n  --entity <id>      Scope to an account group\n  --parent <id>      Alias for --entity\n  --account <id>     Restrict to an account or account subtree; may be repeated\n                     (default: [])\n  --include-pending  Include pending transactions; current balance-sheet reports\n                     include them by default\n  --status <status>  Transaction status filter: posted, pending, planned, void,\n                     active, combined, or all\n  --hide-zero        Hide zero-balance rows\n  -h, --help         display help for command\n\nExamples:\n  clovis report balance-sheet --date 2026-06-30 --quote CAD --parent Personal"
    },
    {
      "command": "clovis report net-worth",
      "slug": "report-net-worth",
      "path": [
        "report",
        "net-worth"
      ],
      "usage": "Usage: clovis report net-worth [options]",
      "description": "Report net worth",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--date <date>",
            "description": "As-of date, YYYY-MM-DD",
            "raw": "--date <date>      As-of date, YYYY-MM-DD"
          },
          {
            "term": "--quote <asset>",
            "description": "Quote asset symbol or id",
            "raw": "--quote <asset>    Quote asset symbol or id"
          },
          {
            "term": "--entity <id>",
            "description": "Scope to an account group",
            "raw": "--entity <id>      Scope to an account group"
          },
          {
            "term": "--parent <id>",
            "description": "Alias for --entity",
            "raw": "--parent <id>      Alias for --entity"
          },
          {
            "term": "--account <id>",
            "description": "Restrict to an account or account subtree; may be repeated (default: [])",
            "raw": "--account <id>     Restrict to an account or account subtree; may be repeated (default: [])"
          },
          {
            "term": "--include-pending",
            "description": "Include pending transactions; current net-worth reports include them by default",
            "raw": "--include-pending  Include pending transactions; current net-worth reports include them by default"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status filter: posted, pending, planned, void, active, combined, or all",
            "raw": "--status <status>  Transaction status filter: posted, pending, planned, void, active, combined, or all"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report net-worth --quote CAD --parent Personal"
        ],
        "notes": []
      },
      "help": "Usage: clovis report net-worth [options]\n\nReport net worth\n\nOptions:\n  --date <date>      As-of date, YYYY-MM-DD\n  --quote <asset>    Quote asset symbol or id\n  --entity <id>      Scope to an account group\n  --parent <id>      Alias for --entity\n  --account <id>     Restrict to an account or account subtree; may be repeated\n                     (default: [])\n  --include-pending  Include pending transactions; current net-worth reports\n                     include them by default\n  --status <status>  Transaction status filter: posted, pending, planned, void,\n                     active, combined, or all\n  -h, --help         display help for command\n\nExamples:\n  clovis report net-worth --quote CAD --parent Personal"
    },
    {
      "command": "clovis report spending",
      "slug": "report-spending",
      "path": [
        "report",
        "spending"
      ],
      "usage": "Usage: clovis report spending [options]",
      "description": "Report spending by category",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--year <year>",
            "description": "UTC year",
            "raw": "--year <year>    UTC year"
          },
          {
            "term": "--month <month>",
            "description": "Month, 1-12",
            "raw": "--month <month>  Month, 1-12"
          },
          {
            "term": "--quote <asset>",
            "description": "Quote asset symbol or id",
            "raw": "--quote <asset>  Quote asset symbol or id"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help       display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report spending --year 2026 --month 6 --quote CAD"
        ],
        "notes": []
      },
      "help": "Usage: clovis report spending [options]\n\nReport spending by category\n\nOptions:\n  --year <year>    UTC year\n  --month <month>  Month, 1-12\n  --quote <asset>  Quote asset symbol or id\n  -h, --help       display help for command\n\nExamples:\n  clovis report spending --year 2026 --month 6 --quote CAD"
    },
    {
      "command": "clovis report cash-flow",
      "slug": "report-cash-flow",
      "path": [
        "report",
        "cash-flow"
      ],
      "usage": "Usage: clovis report cash-flow [options]",
      "description": "Report cash flow by activity",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--year <year>",
            "description": "UTC year",
            "raw": "--year <year>    UTC year"
          },
          {
            "term": "--month <month>",
            "description": "Month, 1-12",
            "raw": "--month <month>  Month, 1-12"
          },
          {
            "term": "--quote <asset>",
            "description": "Quote asset symbol or id",
            "raw": "--quote <asset>  Quote asset symbol or id"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help       display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report cash-flow --year 2026 --month 6 --quote CAD"
        ],
        "notes": []
      },
      "help": "Usage: clovis report cash-flow [options]\n\nReport cash flow by activity\n\nOptions:\n  --year <year>    UTC year\n  --month <month>  Month, 1-12\n  --quote <asset>  Quote asset symbol or id\n  -h, --help       display help for command\n\nExamples:\n  clovis report cash-flow --year 2026 --month 6 --quote CAD"
    },
    {
      "command": "clovis report register",
      "slug": "report-register",
      "path": [
        "report",
        "register"
      ],
      "usage": "Usage: clovis report register [options]",
      "description": "Show an account register",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--account <id>",
            "description": "Account id",
            "raw": "--account <id>     Account id"
          },
          {
            "term": "--asset <id>",
            "description": "Asset id or symbol",
            "raw": "--asset <id>       Asset id or symbol"
          },
          {
            "term": "--from <date>",
            "description": "Start date, YYYY-MM-DD",
            "raw": "--from <date>      Start date, YYYY-MM-DD"
          },
          {
            "term": "--to <date>",
            "description": "End date, YYYY-MM-DD",
            "raw": "--to <date>        End date, YYYY-MM-DD"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status filter: posted, pending, planned, void, active, combined, or all",
            "raw": "--status <status>  Transaction status filter: posted, pending, planned, void, active, combined, or all"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report register --account <checking-id> --from 2026-06-01 --to 2026-06-30"
        ],
        "notes": []
      },
      "help": "Usage: clovis report register [options]\n\nShow an account register\n\nOptions:\n  --account <id>     Account id\n  --asset <id>       Asset id or symbol\n  --from <date>      Start date, YYYY-MM-DD\n  --to <date>        End date, YYYY-MM-DD\n  --status <status>  Transaction status filter: posted, pending, planned, void,\n                     active, combined, or all\n  -h, --help         display help for command\n\nExamples:\n  clovis report register --account <checking-id> --from 2026-06-01 --to 2026-06-30"
    },
    {
      "command": "clovis report trial-balance",
      "slug": "report-trial-balance",
      "path": [
        "report",
        "trial-balance"
      ],
      "usage": "Usage: clovis report trial-balance [options]",
      "description": "Show debit and credit totals for one asset",
      "sections": {
        "arguments": [],
        "options": [
          {
            "term": "--asset <id>",
            "description": "Asset id or symbol",
            "raw": "--asset <id>       Asset id or symbol"
          },
          {
            "term": "--status <status>",
            "description": "Transaction status filter: posted, pending, planned, void, active, combined, or all",
            "raw": "--status <status>  Transaction status filter: posted, pending, planned, void, active, combined, or all"
          },
          {
            "term": "-h, --help",
            "description": "display help for command",
            "raw": "-h, --help         display help for command"
          }
        ],
        "commands": [],
        "examples": [
          "  clovis report trial-balance --asset CAD"
        ],
        "notes": []
      },
      "help": "Usage: clovis report trial-balance [options]\n\nShow debit and credit totals for one asset\n\nOptions:\n  --asset <id>       Asset id or symbol\n  --status <status>  Transaction status filter: posted, pending, planned, void,\n                     active, combined, or all\n  -h, --help         display help for command\n\nExamples:\n  clovis report trial-balance --asset CAD"
    }
  ]
}
