Simon Michael
c2972b3d5d
;pkg: update tested-with
2025-06-03 18:44:40 -10:00
Simon Michael
3410052934
;dev: query-expr.test: a simpler test [ #2371 ]
2025-06-03 18:44:08 -10:00
Simon Michael
ffa84d7a8d
;doc:Query types: clarify amt: [ #2396 ]
2025-06-03 10:10:04 -10:00
Simon Michael
2a4718d40a
fix: make a few more error messages consistent, hiding call stack [ #2367 ]
2025-06-03 10:10:04 -10:00
Simon Michael
bcde959105
;dev: tests for amt:/cur: with balance commands [ #2396 ]
2025-06-03 07:48:38 -10:00
Simon Michael
aa0f4a74c9
;fix:doc: more text encoding corrections/cleanups, 4 [ #2394 ]
2025-06-03 00:14:30 -10:00
Simon Michael
2ad6f7f744
;fix:doc: more text encoding corrections/cleanups [ #2394 ]
2025-06-02 23:49:36 -10:00
Simon Michael
de86b3c3ef
;doc: changelog edits
2025-06-02 17:16:43 -10:00
Simon Michael
59387cbf6b
;doc: finalise changelogs for 1.43 on 2025-06-01
2025-06-01 12:31:24 -10:00
Simon Michael
d9c512deee
;doc: changelogs
2025-06-01 12:31:24 -10:00
Simon Michael
631e1e4265
;dev:add.test: uniquify temp files, fixing intermittent results [ #2356 ]
2025-06-01 12:30:09 -10:00
Simon Michael
fe451208fe
;dev: add.test: add a space before non-hledger commands [ #2356 ]
...
This prevents `shelltest -w HLEDGERBIN` from disturbing those commands.
2025-06-01 12:06:36 -10:00
Simon Michael
c3cc1d846b
;dev: add.test: fix wrong $ quoting [ #2356 ]
2025-06-01 12:06:34 -10:00
Simon Michael
687356005c
;dev: add.test: adjust test comments for emacs folding
2025-06-01 12:06:12 -10:00
Simon Michael
39726bfe8d
;doc: update links to install#text-encoding
2025-06-01 10:14:41 -10:00
Michael Rees
0c3e7bc395
Always check added transaction, even if no immediate assertion
2025-05-31 23:19:47 -10:00
Michael Rees
db4d7d0dbe
;doc: Update manual to describe assertion checking in hledger add
2025-05-31 23:19:47 -10:00
Michael Rees
19a2a70f2d
Handle partial dates in added transactions
2025-05-31 23:19:47 -10:00
Michael Rees
b042115692
Ignore assertions during add with -I
2025-05-31 23:19:47 -10:00
Michael Rees
636860363f
Add test for assertion combined with posting date
2025-05-31 23:19:47 -10:00
Michael Rees
5a4aa87df8
Clarify some code after review
2025-05-31 23:19:47 -10:00
Michael Rees
17f914e571
imp: add: Verify balance assertions on each posting ( #2355 )
2025-05-31 23:19:47 -10:00
Simon Michael
b7dbe3ed4f
;fix:doc: more text encoding corrections ( #2394 )
2025-05-30 12:11:15 -10:00
Simon Michael
d679098cfe
;fix:doc:Text encoding: rewrite, corrections ( #2394 )
2025-05-30 11:40:09 -10:00
Simon Michael
f1f1ad5c94
;dev: clarify
2025-05-30 10:48:24 -10:00
Simon Michael
296814fd49
;fix:doc: text encoding: we don't require UTF-8 ( #2394 )
2025-05-29 13:39:37 -10:00
Simon Michael
4c7765e8dd
;doc:csv:description field: fix link [hledger_site#133]
2025-05-27 14:46:07 -10:00
Dmitry Astapov
f38bc34d35
lib: roi: fix a bug with PnL attributed to the wrong period ( fixes #2391 )
2025-05-26 19:54:21 -10:00
Simon Michael
e360e50497
imp:csv: more --debug=2 output for if rules
...
Also, in debug output show records more like what matchers are seeing,
ie with quotes removed.
2025-05-22 17:05:45 -10:00
Simon Michael
820a44eb07
imp:lib:Hledger.Utils.Debug: simpler, more consistent dbg* names
2025-05-21 22:54:00 -10:00
Simon Michael
a0204404c9
;doc:journal:cheatsheet:edit
2025-05-19 13:22:57 -10:00
Simon Michael
67e656e4c0
;dev: tests for boolean queries involving amt:/cur: [ #2371 ]
2025-05-17 00:04:41 -10:00
Simon Michael
512f147c2b
;dev: simplify pre-valuation query tests [ #2371 ] [ #2385 ] [ #2387 ]
2025-05-17 00:04:41 -10:00
Stephen Morgan
447a681645
fix: Ensure valuation happens after filtration ( #2385 )
2025-05-17 00:00:33 -10:00
Simon Michael
d3468812bf
;doc: finalise changelogs for 1.42.2 on 2025-05-16
2025-05-16 13:18:18 -10:00
Simon Michael
425540e8ca
;doc: update changelogs
2025-05-16 13:18:13 -10:00
Simon Michael
f7aa1fadd1
fix:test: fix and improve pass-through of arguments to tasty [ #2386 ]
2025-05-16 10:46:50 -10:00
Simon Michael
afb4313c9b
;doc: Queries: edits
2025-05-16 00:16:06 -10:00
Simon Michael
1d150549b2
;dev: tests: be more robust when testing a "hledger-VER" executable
2025-05-13 10:48:16 -10:00
Simon Michael
87c7f61670
;doc: Queries: discuss transaction vs posting queries; cleanups
2025-05-12 12:18:15 -10:00
Simon Michael
ee87ba7f5f
;doc: Commands: mention a few command names
2025-05-12 12:17:12 -10:00
Simon Michael
59ff2a9542
;doc: fix broken "Commodity display style" links [hledger_site/#132]
...
Followup to jbrains' fix in https://github.com/simonmichael/hledger_site/pull/132 .
2025-05-10 10:43:28 -10:00
Simon Michael
9365084b06
;dev: setup: notes
2025-05-09 15:39:06 -10:00
Simon Michael
c24355e31f
;dev: assertions tests cleanup
2025-04-27 09:09:58 -10:00
Simon Michael
274751f48a
;doc: balance assertions and multiple files: clarify again, add tests
2025-04-27 09:05:25 -10:00
Simon Michael
330f3fccaa
;dev: rename assertions.test
2025-04-27 08:30:18 -10:00
Simon Michael
2371f677e5
imp:journal: include directive now allows a same-line comment
2025-04-27 08:30:18 -10:00
Simon Michael
2e6bc32820
;doc: account types: edits
2025-04-26 10:10:04 -10:00
Simon Michael
c46c448ff7
;doc: Config files -> Config file
2025-04-26 09:49:24 -10:00
Simon Michael
b7466ed282
;doc: account types: rewrite
2025-04-26 09:26:06 -10:00
Simon Michael
9a8c0b30b3
;doc: clarify
2025-04-26 02:22:43 -10:00
Simon Michael
dca05e2542
;doc: assertions and multiple files: edits
2025-04-25 18:25:12 -10:00
Simon Michael
3b4ab7d659
;doc: balance assertions and multiple files: clarify
2025-04-25 18:20:40 -10:00
Simon Michael
0298918be2
;doc: setup
2025-04-25 16:14:03 -10:00
Simon Michael
144489a418
imp: setup: improve output
2025-04-25 15:21:59 -10:00
Simon Michael
bf40d28c8b
imp: config files (and maybe timedot files) no longer require a final newline
2025-04-25 13:59:18 -10:00
Simon Michael
8f46eca6ec
imp:setup: improve output and logic; show strictness config
2025-04-25 13:58:36 -10:00
Simon Michael
45e449e97a
imp:setup: show more green for ideal setups
2025-04-25 12:04:06 -10:00
Simon Michael
4a5b0d46b5
imp: setup v2, simpler implementation and shorter output
...
This one tests only with the currently running hledger, and requires being installed in PATH to show full info.
2025-04-25 11:53:57 -10:00
Simon Michael
78baaee6c5
lib: more version helpers, rename to HledgerBinaryInfo, silence warnings
2025-04-25 09:36:38 -10:00
Simon Michael
06cd0f9472
lib: exitOnExceptions -> exitOnError
2025-04-25 08:32:47 -10:00
Simon Michael
d1e4d00b8d
lib: Cli,UI,WebOptions: export binaryinfo
2025-04-25 08:26:14 -10:00
Simon Michael
d3af9f0217
;doc:check: edits
2025-04-24 11:27:28 -10:00
Simon Michael
d37000726d
;doc:check: edits
2025-04-24 11:13:29 -10:00
Simon Michael
650901901f
;doc:check: edits
2025-04-24 10:53:44 -10:00
Simon Michael
0d6023b812
;doc:balance: edits
2025-04-24 09:59:27 -10:00
Simon Michael
8705b935de
imp:setup: output tweaks
2025-04-23 22:50:19 -10:00
Simon Michael
b295cce796
;doc: cleanup
2025-04-23 21:43:45 -10:00
Simon Michael
eec803f19b
imp:setup: more setup tests; improve logic, output
2025-04-23 21:43:30 -10:00
Simon Michael
03589e294b
lib: make getConf total; add getConf'
2025-04-23 21:43:30 -10:00
Simon Michael
6cf40a76d1
lib: parseHledgerVersion: also save the package version as text
2025-04-23 11:00:49 -10:00
Simon Michael
cd6288a8eb
imp:setup: output tweaks
2025-04-22 19:12:16 -10:00
Simon Michael
b0b081f20d
imp:setup: check account type declarations
...
Begin analysing account type declarations (finally).
Setting up account types when getting started is just a bit too complicated
to be easily understood or easily documented.
Making that easy is one of the goals for the setup command.
2025-04-22 19:02:05 -10:00
Simon Michael
f39b34184e
lib: and setup: robust parsing of hledger --version output
2025-04-22 17:02:44 -10:00
Simon Michael
32f2ef9b15
;doc:queries: fix the explanation of boolean queries and space-separated terms
2025-04-22 12:15:03 -10:00
Simon Michael
2288f5193d
fix:setup: refactor, fix a case not returning installed version
2025-04-22 09:06:27 -10:00
Simon Michael
6b5be96d27
imp:setup: improve config file tests, run only when supported
2025-04-22 08:53:43 -10:00
Simon Michael
3e8f3a4506
;doc:cli:changelog: consistent release headings
...
just rels now shows more release dates
2025-04-21 18:16:08 -10:00
Simon Michael
4529a8c4a1
imp: setup: smarter logic, more robustness
...
- Test the hledger in PATH, not the one running
- Handle old hledger versions as well as recent ones
- Handle errors, remove early terminations
2025-04-21 15:31:23 -10:00
Simon Michael
5334e7924b
lib: Hledger.Cli.Version: rename PackageVersionString, more helpers
2025-04-21 15:14:12 -10:00
Simon Michael
50a85fc5ca
dev: setup: cleanup
2025-04-20 16:13:28 -10:00
Simon Michael
8edef3345e
feat: setup command, checks hledger installation (Merge branch 'sm-setup')
...
Not yet finished, but it's useful and usable so far.
2025-04-20 10:54:26 -10:00
Simon Michael
f0ff2aa34e
imp: setup: show full --version output
2025-04-20 10:52:50 -10:00
Simon Michael
c3c91448a7
imp: setup: output tweaks
2025-04-20 10:52:50 -10:00
Simon Michael
a18a4c612d
imp: setup: get version from hledger.org, hackage is down
2025-04-20 10:52:50 -10:00
Simon Michael
580bc0a8f8
dev: setup: refactor output helpers
2025-04-20 10:52:50 -10:00
Simon Michael
8b48fc41bc
imp: setup: version check: improve error output when unknown
2025-04-20 10:52:50 -10:00
Simon Michael
97e2e8572f
imp: setup: version check: add a timeout, improve error output
2025-04-20 10:52:50 -10:00
Simon Michael
15173eeeb0
imp: setup: test default file setup
2025-04-20 10:52:50 -10:00
Simon Michael
4881a0deaa
;doc:setup
2025-04-20 10:52:50 -10:00
Simon Michael
75cd521ed7
imp:setup: drop unused options
2025-04-20 10:52:50 -10:00
Simon Michael
2ef7434f47
imp:setup: check files setup (WIP)
2025-04-20 10:52:50 -10:00
Simon Michael
d408f00b42
imp:setup: use HEAD instead of GET to check current version
2025-04-20 10:52:50 -10:00
Simon Michael
98da9709fc
imp:setup: config file tests; tidier more portable color-aware output
2025-04-20 10:52:50 -10:00
Simon Michael
bb7510194e
imp: setup: setup ignores the config file itself, for robustness
2025-04-20 10:52:50 -10:00
Simon Michael
daf550bbb0
imp: Hledger.Cli.Conf: refactor, expose more info about config files
2025-04-20 10:52:50 -10:00
Simon Michael
320d197735
imp:setup: more hledger setup tests
2025-04-20 10:52:50 -10:00
Simon Michael
525b30b76f
pkg: add req, http-client, http-types dependencies; begin HTTP support
...
hledger can now make HTTP requests over the network.
For now, it makes just one (in following commits):
checking Hackage for the current hledger release version.
2025-04-20 10:52:36 -10:00
Simon Michael
69232cae7a
feat: setup: first setup check: is hledger in PATH ?
2025-04-20 10:49:16 -10:00
Simon Michael
cff831c3c0
feat:setup: command skeleton
2025-04-20 10:49:16 -10:00
Simon Michael
c2592ea730
;doc:csv: fix link
2025-04-20 09:31:01 -10:00
Simon Michael
72f1a14bbd
;doc:csv: clarify CSV means DSV, and link to that instead
2025-04-20 09:26:06 -10:00
Simon Michael
29bca306ee
;doc: print: simplify [ #2368 ]
2025-04-18 18:50:41 -10:00
samahri
6bf9369cda
imp: add --location tag to print command [ #2368 ]
...
;fix: delete hledger-print-location, move doc to Print.hs>"print,other features"
2025-04-18 18:49:34 -10:00
samahri
588cab14f3
imp: add --location tag to print command [ #2368 ]
2025-04-18 18:49:34 -10:00
Simon Michael
f54677f5c0
;doc: boolean queries: edits
2025-04-18 15:27:00 -10:00
Simon Michael
9dd9a696d4
;doc: boolean queries: edits
2025-04-18 15:24:47 -10:00
Simon Michael
81238e5f27
feat: any:, all: queries allow more powerful transaction matching
2025-04-18 14:06:45 -10:00
Simon Michael
d13b334fb2
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 16:43:57 -10:00
Simon Michael
b54766c77a
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 16:41:07 -10:00
Simon Michael
5c3197dd42
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 16:29:53 -10:00
Simon Michael
15218a3d56
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 16:25:26 -10:00
Simon Michael
404edc3afd
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 16:05:51 -10:00
Simon Michael
ee3bd28711
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 10:32:50 -10:00
Simon Michael
bcc8471966
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 10:29:28 -10:00
Simon Michael
6aa072e1a4
;doc:csv: How CSV rules are evaluated: clarify
2025-04-16 10:16:28 -10:00
Simon Michael
df5d14628a
;doc:cli: adjust source to avoid disrupting markdown-mode outline
2025-04-16 08:40:58 -10:00
Simon Michael
57b13dab73
;doc:cli: fix hledger-iadd link
2025-04-12 14:33:15 -10:00
Simon Michael
9340b73aae
imp: improve/format errors for various failures [ #2367 ]
...
These now call error' and show errors in the standard style:
- reading a nonexistent data file
- reading an unsafe dotted file name on windows
- web: using --socket on windows
- demo: demo not found
- demo: error while running asciinema
- diff: bad arguments
- print --match: no match found
- register --match: no match found
- roi: no investment transactions found
2025-04-11 08:06:47 -10:00
Simon Michael
454c669fe4
fix:cli,ui,web: consistent console error output independent of GHC version [ #2367 ]
...
Hledger.Utils.IO helpers have been updated and new ones have been
added (exitOnExceptions, exitWithError) to allow consistent display of
program errors whether compiled with GHC <9.10, GHC 9.10, or GHC >9.10.
The trailing newlines added by GHC 9.10 are gone,
and so is the "uncaught exception" output added by GHC 9.12.
2025-04-11 08:06:47 -10:00
Simon Michael
9b6d3da677
;cabal: update cabal files
2025-04-09 10:58:54 -10:00
Simon Michael
ee3b6c29ce
;pkg: allow ghc 9.12
2025-04-09 10:58:52 -10:00
Simon Michael
bc16552e5d
;doc:csv:encoding: add hledger version info
2025-04-08 19:30:59 -10:00
Simon Michael
e57764f676
;doc: beancount output: edits
2025-04-05 03:43:29 -10:00
Michael Rees
62071bc4c2
feat: timeclock: Add support for multiple clocked in sessions ( #2141 )
...
We now support having multiple sessions clocked in. These are paired by
account name if given on the out entry, and otherwise an out closes the
most recent in entry.
Note that this breaks some backwards compatibility, in that we
previously ignored the description on the clock out entry. To mitigate
this, a new hidden flag --timeclock-old has been added, which reverts to
the old behavior.
2025-04-03 11:19:18 -10:00
Simon Michael
2ff2fd1594
;pkg: simplify LICENSE (try to fix github license detection)
2025-03-31 19:12:38 -10:00
Simon Michael
fb584e7e8b
;pkg: simplify LICENSE, add AUTHORS.md (try to fix github license detection)
2025-03-31 19:05:19 -10:00
Simon Michael
20226283b8
;pkg: tweak LICENSE files, try to get github to recognise
2025-03-31 18:18:10 -10:00
Simon Michael
47bb40f838
;pkg: clean up LICENSE files, main module licensing headers
2025-03-31 18:10:19 -10:00
Simon Michael
8d1a8d3799
;cabal: update cabal files
2025-03-31 17:40:30 -10:00
Simon Michael
ed6cef5c00
;pkg: clean up package.yaml files
...
Consistent layout.
Group metadata at the top in similar order to `cabal format`.
2025-03-31 17:25:41 -10:00
Simon Michael
775507c2d4
;pkg:cabal: specify GPLv3+ exactly; require cabal 2.2+ [ #2359 ]
...
Previously our cabal files used cabal-version 1.12, and were in theory
buildable with any ancient version of cabal. Now at least cabal 2.2
(or a version of stack built with with similar Cabal version) is
required to build hledger.
2025-03-31 16:55:36 -10:00
Simon Michael
b6ec245647
;cabal: update cabal files
2025-03-31 16:33:50 -10:00
Simon Michael
cb6a9b2f97
;pkg:cabal: update tested-with in all package.yamls
2025-03-31 16:27:40 -10:00
Thomas Miedema
bf3d1b6b49
;dev: extra >= 1.7.11 is required
...
Commit ff28aa32 introduced usage of Data.List.Extra.groupOnKey, which
first came with extra-1.7.11.
Fixes stack8.10.yaml build hopefully.
2025-03-31 16:18:09 -10:00
Simon Michael
fa4dbf45af
;doc:csv:encoding: edits [ #2354 ]
2025-03-30 10:09:45 -10:00
Simon Michael
b75f0ebd00
;fix:doc:csv:encoding: list accurate canonical encoding names [ #2354 ]
...
see also https://github.com/dmwit/encoding/issues/28
2025-03-30 10:02:59 -10:00
Simon Michael
6122366af1
;doc:Commands: fix commands link in TOC
2025-03-13 11:52:32 -10:00
Simon Michael
9521fead17
;doc:Commands: add run, repl, commands to TOC
2025-03-13 11:47:26 -10:00
Simon Michael
2a45cfa27b
;doc: fix update csv tutorial link
2025-03-13 11:16:39 -10:00
Simon Michael
efff1cfdb5
;doc: finalise changelogs for 1.42.1 on 2025-03-12
2025-03-12 21:35:24 -10:00
Simon Michael
be1e921dca
;doc: update changelogs
2025-03-12 21:35:24 -10:00
Stephen Morgan
8474c811c5
imp run: More successful cache hits with forecast
...
If forecast start and end dates are explicitly requested with
--forecast=, those parts of the reportspan_ can be replaced with the
forecast dates, meaning more successful cache hits.
2025-03-12 20:47:17 -10:00
Simon Michael
133560aa93
;dev: csv: no need to test for unsupported feature [ #2352 ]
2025-03-12 20:40:36 -10:00
Thomas Miedema
a8a0d3ee30
fix: csv: fix regression in parsing rules containing & ( #2352 )
2025-03-12 20:35:59 -10:00
Simon Michael
6f17d133dd
;imp:cli: improve help for --pretty
2025-03-09 08:16:38 -10:00
Simon Michael
6d47530ebc
;imp:cli: improve help for mutually exclusive valuation flags
2025-03-09 08:16:38 -10:00
Simon Michael
dbb85e3a9f
;doc:balance: "types" -> "modes"
2025-03-08 13:09:02 -10:00
Simon Michael
dcd5221489
;doc: update embedded manuals
2025-03-08 12:46:13 -10:00
Simon Michael
b31091195b
;doc: update command docs
2025-03-08 12:44:57 -10:00
Simon Michael
02ef6e45e7
imp:cli: make mutually exclusive flags clearer in --help
2025-03-08 12:42:16 -10:00
Simon Michael
a0afda4a2b
;doc:options: mention mutually exclusive flags
2025-03-08 11:20:21 -10:00
Dmitry Astapov
9963a01a15
run: do not pre-load journal(s) at the start of "run" [ #2345 ]
...
wait for the first command to do this. Same for "repl"
2025-03-08 09:55:59 -10:00
Dmitry Astapov
c0b3c932ea
;run: --forecast with changed reporting interval fix (+test) [ #2345 ]
2025-03-08 09:55:59 -10:00
Simon Michael
52d99ee1eb
;doc: update embedded manuals
2025-03-07 22:03:32 -10:00
Simon Michael
054e9561e4
;doc: update command docs
2025-03-07 22:03:09 -10:00
Simon Michael
44a4b79fa4
;doc:run, repl: more edits
2025-03-07 22:02:14 -10:00
Simon Michael
e53191049f
;doc: update embedded manuals
2025-03-07 21:38:14 -10:00
Simon Michael
f153d7f707
;doc: update command docs
2025-03-07 21:38:10 -10:00
Pranesh Prakash
2369f1338a
;doc:repl: updates
...
Corrected one small mistake, and changed a few other things for clarity.
Applied changes to the right file (Repl.md) this time.
2025-03-07 21:35:44 -10:00
Simon Michael
2274ea6ad6
;doc:changelogs, relnotes: fix
2025-03-07 21:32:08 -10:00
Simon Michael
f7aec96db1
;doc:changelogs: cleanups
2025-03-07 21:22:19 -10:00
Simon Michael
b9cd9981f7
;doc: update embedded manuals
2025-03-07 18:49:13 -10:00
Simon Michael
4e5506da1e
;cabal: update cabal files
2025-03-07 18:49:08 -10:00
Simon Michael
10c523c057
;pkg: set version to 1.42.99
2025-03-07 18:49:07 -10:00
Simon Michael
554b50f5b2
;doc:changelog: fix run/repl wording
2025-03-07 18:27:21 -10:00
Pranesh Prakash
fc2aabaab3
;doc:repl: updates
...
Corrected one small mistake, and changed a few other things for clarity.
2025-03-07 13:35:26 -10:00
Simon Michael
41e5a538b1
;pkg: clean up other cabal files, separating unrelated ghc options
2025-03-07 07:54:57 -10:00
Simon Michael
fd0bcdfede
;doc: finalise changelogs for 1.42 on 2025-03-06
2025-03-07 06:36:53 -10:00
Simon Michael
8184d20b9f
;doc: update changelogs
2025-03-07 06:36:15 -10:00
Simon Michael
7a3f69c5a1
;doc:repl: updates
2025-03-06 19:45:55 -10:00
Dmitry Astapov
a3d2c7bb58
;run: test that demonstrates caching
2025-03-06 16:43:39 -10:00
Simon Michael
a0cf410a80
;doc:run, repl: updates
2025-03-06 16:36:54 -10:00
Simon Michael
d65cdbef27
;doc: update embedded manuals
2025-03-06 16:15:22 -10:00
Simon Michael
3d1994ea76
;doc: add commands, repl, run to Commands section
2025-03-06 16:15:22 -10:00
Simon Michael
e25cd526b7
;doc: update embedded manuals
2025-03-06 16:05:55 -10:00
Simon Michael
0cd86d959e
;doc: update command docs
2025-03-06 16:05:25 -10:00
Simon Michael
cdbbe40e5b
;doc:run, repl: updates and edits
2025-03-06 16:03:55 -10:00
Simon Michael
e9f1e7dbd4
;doc:demo: mark experimental
2025-03-06 16:03:29 -10:00
Simon Michael
12000baf19
;dev: number run tests
2025-03-06 14:09:38 -10:00
Simon Michael
ebf8d25a49
imp:cli: commands list tweaks
2025-03-06 13:58:24 -10:00
Simon Michael
cf81b042be
imp:run,repl: allow running addon commands
2025-03-06 13:56:43 -10:00
Simon Michael
a1a6aad873
fix:repl: also catch IO errors like run nosuchfile
...
And print exceptions consistently, with a single newline.
2025-03-06 13:05:45 -10:00
Simon Michael
9ecc3a56d0
fix:repl: make the run command work in the REPL again
...
The now-required -- argument was being lost during REPL parsing.
I think this is right, though it's hard to understand.
2025-03-06 13:03:57 -10:00
Simon Michael
fd906bec95
;dev:cli: debug output tweaks; moveFlagsAfterCommand doc edit
2025-03-06 11:56:21 -10:00
Dmitry Astapov
758335daf0
run: support --man, --info, --tldr
2025-03-06 11:54:00 -10:00
Dmitry Astapov
7fdb2f7fe6
;run: use leading -- to decide whether to read from files or not
2025-03-06 11:54:00 -10:00
Dmitry Astapov
4dbeac284c
;run: refuse to read commands from stdin if one of the input files was -
2025-03-06 11:54:00 -10:00
Dmitry Astapov
9c63b36d88
;run: require -- before first command (+test for that)
2025-03-06 11:54:00 -10:00
Dmitry Astapov
b031144961
run: added run.test
2025-03-06 11:54:00 -10:00
Dmitry Astapov
6766498f42
run: can re-read stdin, if needed
2025-03-06 11:54:00 -10:00
Dmitry Astapov
df0cd78b26
;run: more robust terminal check
2025-03-06 11:54:00 -10:00
Dmitry Astapov
e4cfd31544
;run: add leading -- to short cmdline help
2025-03-06 11:54:00 -10:00
Dmitry Astapov
c354e6e9f7
;run: don't exit repl when subcommand exits
2025-03-06 11:54:00 -10:00
Dmitry Astapov
4aa79cdc53
;run: added Repl.txt to package.yaml
2025-03-06 11:54:00 -10:00
Dmitry Astapov
22155e2bae
run: make sure that reporting interval does not affect caching
2025-03-06 11:54:00 -10:00
Dmitry Astapov
cffceb0d06
;run: fix stale comments
2025-03-06 11:54:00 -10:00
Dmitry Astapov
1fc7006919
run: cache input files by (iopts, name), allows commands with different iopts
2025-03-06 11:54:00 -10:00
Dmitry Astapov
d3d3e02f9e
;run: another typo fixed
2025-03-06 11:54:00 -10:00
Dmitry Astapov
4ad3d00864
;doc: run & repl: typos fixed, you can pipe into run
2025-03-06 11:54:00 -10:00