-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: "run" #2323
base: master
Are you sure you want to change the base?
New command: "run" #2323
Conversation
f0df695
to
4f2c303
Compare
Why not use a standard |
to avoid re-parsing the same journal file (quite large, in my case) over and over and over again. If that's not a concern, then bash script is the (better?) alternative |
We can also say, for the REPL - allowing fast interactive reporting sessions without rereading the data, which could be helpful if it's large. We had GHCI already as a REPL for the haskell API, but this one is much more like the familiar command line (though not identical). |
We could also leave this as an add-on command. What might be some arguments against making it a builtin ?
Arguments for:
|
Adds a new command, "run", that allows one to run hledger commands in interactive REPL or from command/script files: