63 Commits

Author SHA1 Message Date
Ben Wiederhake f47e84c714 derive: split 'compile_error' toy into many test cases, demonstrate new issues 2025-04-18 16:31:29 +02:00
Ben Wiederhake 522f1850e2 implement proof of concept for du -bkB 2025-04-12 13:44:16 +02:00
Daniel Hofstetter 7a126b5f45 Adapt formatting 2025-04-01 11:19:52 +02:00
Ben Wiederhake e3f0b529fa Mark unused spaces to satisfy clippy
This causes CI failures, so let's fix this.
2025-04-01 10:37:50 +02:00
Ben Wiederhake 03b8dc1dd7 write date output format logic with exhaustive tests
Also, exhausting tests.
2025-04-01 10:37:50 +02:00
Ben Wiederhake 9bc178ae38 shuf: skip test that would exit the test suite too early 2025-04-01 10:37:50 +02:00
Ben Wiederhake 67373eb4df document new feature and add example / test 2025-04-01 10:37:50 +02:00
Ben Wiederhake dca1347b74 make Options::apply fallible 2025-04-01 10:37:50 +02:00
Ben Wiederhake df7bc4e2d9 fix nightly clippy warnings
Note that this still compiles warning-free with rustc 1.70.
2024-05-09 21:15:00 +02:00
Terts Diepraam 9ef4080352 Merge pull request #122 from BenWiederhake/dev-cksum
Implement and exhaustively test cksum's weird implicit flags in 12 lines
2024-05-06 08:23:50 +02:00
Ben Wiederhake 0081703757 Implement and exhaustively test cksum's weird implicit flags 2024-05-06 04:23:37 +02:00
Daniel Hofstetter c6c24704c9 Fix "field is never read" warnings 2024-04-10 10:33:49 +02:00
Ben Wiederhake 06329162a5 implement proof of concept for shuf echo args / file 2024-02-20 01:48:21 +01:00
Terts Diepraam 5c7bf4e3a7 add options_first argument for the arguments attribute 2024-02-05 09:10:05 +01:00
Terts Diepraam a31f9bef39 test the new positional argument system in coreutils tests 2024-02-05 09:10:05 +01:00
Terts Diepraam 922979135d make value derive not fail without #[value] 2023-12-19 16:38:27 +01:00
Terts Diepraam 43f792f91e remove parse and rename try_parse to parse 2023-12-19 15:13:12 +01:00
Terts Diepraam 462898ca91 take positional arguments out of arguments enum 2023-12-19 11:45:43 +01:00
Terts Diepraam cc9ce1ea50 remove 'static lifetime
This is probably an old remnant, but it is no longer necessary
2023-12-15 23:42:24 +01:00
Terts Diepraam 19cf7bd421 rename default to value 2023-12-07 12:51:30 +01:00
Terts Diepraam 2ba46a2ae9 remove the Initial trait 2023-12-05 16:05:59 +01:00
Terts Diepraam e6a7f379bf unify the option/positional/free attributes into arg 2023-12-03 14:22:42 +01:00
Terts Diepraam 84008f952a add dd test 2023-11-01 13:11:22 +01:00
Terts Diepraam 6c16203db6 dd-style and numeric arguments 2023-11-01 12:26:03 +01:00
Terts Diepraam 0d7c1b747f remove markdown rendering and make help write to stdout
The markdown rendering is too complicated at the moment
and slows the rest of development down too much. We can
add it back in later.

The generated code for the help string now writes
directly to stdout, instead of building up a String,
this leads to nicer code and is probably faster.
2023-06-04 14:09:07 +02:00