0.0.2 • Published 11 months ago

beancount-smart-query v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Beancount smart query

tests

Query beancount in human language with the help of AI.

Usage

$ npm install -g beancount-smart-query
$ bean-sq COMMAND
running command...
$ bean-sq (--version)
beancount-smart-query/0.0.2 darwin-arm64 node-v18.16.0
$ bean-sq --help [COMMAND]
USAGE
  $ bean-sq COMMAND
...

Commands

bean-sq help [COMMANDS]

Display help for bean-sq.

USAGE
  $ bean-sq help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for bean-sq.

See code: @oclif/plugin-help

bean-sq query FILE QUERY

Query beancount in human language with the help of AI

USAGE
  $ bean-sq query FILE QUERY [--learning] [-v]

FLAGS
  -v, --verbose  detail log
  --learning     whether AI will teaching you how to query

DESCRIPTION
  Query beancount in human language with the help of AI

EXAMPLES
  $ bean-sq query main.bean 'List all my traffic cost in last month'  

  $ bean-sq query main.bean '列出近一周 CMB 银行卡的账单 按时间先后顺序输出'  

  $ bean-sq query main.bean '上个月花了多少钱在娱乐上'

See code: dist/commands/query.ts