Hi,
I just implemented a new "run" command to make use of the Query directive.
Thought it was worth of note.
Here's the changelog:

    Implemented new "run" shell command that allows you to run a named
query.
    For example, if an input file has a Query directive like this:

      2016-09-01 query "home" "select account, sum(position) where account
~ 'Home' group by 1"

    And you input this command:

      run home

    The entries will be closed at tue query date (2016-09-01) and the query
    automatically run. If you want to always include all the transactions,
set a
    date far into the future.

    This works from the command-line and from the shell, equally. You can
also
    run all the queries in an input file, like this:

      run *

    To view the list of available queries, just type the "run" command
without
    an argument.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhMNjgKAg32m-VE2KXyYGow-ph-r23Qh5dBpST4SYMi4%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to