diff options
| author | ivar <i@oiee.no> | 2026-03-15 22:53:10 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2026-03-15 22:53:10 +0100 |
| commit | 1aa60ed7f0b0af6c55df4a32bf2620934df63e6d (patch) | |
| tree | deacb84cd3770ce139ecbc693bf2b987954c2347 /cli/src/index.ts | |
| parent | 69448e29a85cad3a94b3be3ad33efbc52764528f (diff) | |
| download | sparebank1-actualbudget-1aa60ed7f0b0af6c55df4a32bf2620934df63e6d.tar.xz sparebank1-actualbudget-1aa60ed7f0b0af6c55df4a32bf2620934df63e6d.zip | |
Diffstat (limited to 'cli/src/index.ts')
| -rw-r--r-- | cli/src/index.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/src/index.ts b/cli/src/index.ts index daedaae..fc7f080 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -4,6 +4,7 @@ import { accounts } from "./commands/accounts" import { runImport } from "./commands/import" import { init } from "./commands/init" import { backup, restore } from "./commands/backup" +import { aiCommand } from "./commands/ai" const [command, ...args] = process.argv.slice(2) @@ -14,6 +15,7 @@ const commands: Record<string, (args: string[]) => Promise<void>> = { import: (args) => runImport(args), backup: () => backup(), restore: (args) => restore(args), + ai: (args) => aiCommand(args), } const handler = commands[command] @@ -30,6 +32,11 @@ if (!handler) { console.log(" import --since=YYYY-MM-DD Only fetch transactions from this date") console.log(" backup Export budget to ~/.config/sb1-actual/backups/") console.log(" restore Restore budget from a backup") + console.log(" ai query [question] Ask a free-form question about your transactions") + console.log(" ai consolidate-payees Identify and merge duplicate/similar payees") + console.log(" ai summarize Summarize spending by category and payee") + console.log(" ai insights Get AI insights into spending patterns") + console.log(" ai add-notes Add descriptive notes to transactions") process.exit(1) } |
