On 10/02/24 15:24, Dan Andersson wrote:
Hi,
After doing bean-query foo.beancount to enter the interactive session,
can I somehow copy-paste multiple lines in there?
It seems like multi-line queries (e.g. the examples in the
documentation), when pasted in there, always get split into one comm
On 16/02/24 01:08, Robert Hotchkiss wrote:
I did jot this down in my notes, but not sure if my notes are accurate:
- bean-query interactive uses the python gnu readline package (not to be
confused with python library's readline)
- https://stackoverflow.com/questions/161495/is-there-a-nice-w
I was not able to figure out how to do multi-line queries in interactive
bean-query so I paste them into my beancount file and use fava to run them
or run them with:
> bean-query run
I did jot this down in my notes, but not sure if my notes are accurate:
- bean-query interactive uses the pytho
I don't know. If it's supported in
https://docs.python.org/3/library/cmd.html it should be possible to improve
it.
On Tue, Feb 13, 2024 at 5:55 AM Dan Andersson
wrote:
> Motivation: Give people (including Windows users) copy-pasteable commands
> they can simply use as-is (regardless of platform
Motivation: Give people (including Windows users) copy-pasteable commands
they can simply use as-is (regardless of platform).
On Tuesday, February 13, 2024 at 10:51:12 AM UTC Dan Andersson wrote:
> Hi, I'm aware that backslashes can be used for Bash.
> I was referring to the *interactive* sessio
Hi, I'm aware that backslashes can be used for Bash.
I was referring to the *interactive* session (after doing only "bean-query
foo.beancount"). I guess I was hoping it wouldn't "complete" a command
until it sees a semicolon, but currently it seems to complete a command
after every newline.
On
This is a bash question. Look at how multiple lines are handled in bash
(should be lots of info online).
On Sat, Feb 10, 2024 at 9:24 AM Dan Andersson
wrote:
> Hi,
>
> After doing bean-query foo.beancount to enter the interactive session, can
> I somehow copy-paste multiple lines in there?
>
> I
Hi,
After doing bean-query foo.beancount to enter the interactive session, can
I somehow copy-paste multiple lines in there?
It seems like multi-line queries (e.g. the examples in the documentation),
when pasted in there, always get split into one command per line, resulting
in errors.
Do I a