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
dca1347b74
make Options::apply fallible
2025-04-01 10:37:50 +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
a31f9bef39
test the new positional argument system in coreutils tests
2024-02-05 09:10:05 +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
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
Terts Diepraam
946728596b
Fix tests for new initial macro
2023-03-08 16:06:40 +01:00
Terts Diepraam
bf4bac54b7
Rework initial macro (part of #20 )
2023-03-08 15:12:19 +01:00
Terts Diepraam
dad3efc07d
fix up head and tail
2023-02-17 00:44:47 +01:00
Terts Diepraam
6b8f1a5ac1
add tests for head
2023-02-17 00:37:24 +01:00
Terts Diepraam
9d40a129ee
update tail tests for more compatibility
2023-02-15 18:21:27 +01:00
Terts Diepraam
08c0383cb9
move Arg from associated type to type parameter
...
This allows a struct to implement Options for multiple types. See the tail test for rationale
2023-02-15 14:53:29 +01:00