文件历史

11 次代码提交

作者 SHA1 备注 提交日期
Johann Schopplich 3d99b7b9ae feat(cli): render decode error with line context, source, and caret 2026-05-08 22:18:43 +02:00
Johann Schopplich 932f26189e test(cli): update tests for citty v0.2.x 2026-02-19 14:25:10 +01:00
Johann Schopplich 19f9a5527f docs: fix CLI options naming (fixes #241) 2025-12-07 13:10:09 +01:00
Johann Schopplich 14a8cb132e test(cli): mock console and stdout write 2025-11-24 16:21:01 +01:00
Johann Schopplich 7a05d03e73 test(cli) add streaming events coverage 2025-11-22 08:53:47 +01:00
Johann Schopplich 9ebad53ea3 feat(cli): stream output for both encoding and decoding 2025-11-21 16:52:34 +01:00
Johann Schopplich 1c003c6118 feat(cli): memory-efficient streaming for encoding 2025-11-21 14:02:22 +01:00
cy f798bba095 test(cli): add tests for stdin input (#107)
* test(cli): add tests for stdin input

* test(cli): extract mock stdin to helper function

* test(cli): add comprehensive tests for stdin edge cases and output file handling

* refactor(test): streamline mockStdin function and relocate to utils

* test(cli): remove redundant test for JSON encoding from stdin

* test(cli): restore mocks consistently

* test(cli):  restructured output file tests and modified some assertions

* chore: fix linting issues & remove redundant cleanups

---------

Co-authored-by: mad-cat-lon <113548315+mad-cat-lon@users.noreply.github.com>
Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-11 17:35:52 +01:00
Johann Schopplich e8ae024e54 feat!: remove optional length marker option [#N] in favor of [N] 2025-11-10 17:28:49 +01:00
Johann Schopplich cdb90585fa test(cli): add tests for invalid values 2025-11-04 10:17:20 +01:00
Johann Schopplich af298537a4 test(cli): add basic test suite 2025-11-04 07:45:50 +01:00