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
Terts Diepraam
bf4bac54b7
Rework initial macro (part of #20 )
2023-03-08 15:12:19 +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
Terts Diepraam
065eb17b19
remove Options derive in favor of manual implementation
2023-01-19 16:57:11 +01:00
Terts Diepraam
dd5c3efc34
add exit code and arguments attribute ( closes #13 )
2023-01-10 21:32:17 +01:00
Terts Diepraam
d52c2c90d6
hidden arguments ( closes #14 )
2023-01-10 20:33:10 +01:00
Terts Diepraam
77e0bcda48
add simple error messages (with a lot of room for improvement)
2022-12-31 13:55:58 +01:00
Terts Diepraam
830f391359
add option for text below options
2022-12-18 19:14:21 +01:00
Terts Diepraam
fc89ea3284
start reading help file file
2022-12-18 16:28:44 +01:00
Terts Diepraam
870c1d2f29
better handling of option arguments
2022-12-14 23:56:43 +01:00
Terts Diepraam
77fe0e9b9d
basic help flag
2022-12-10 15:54:31 +01:00