1
0
Commit Graph

4 Commits

Author SHA1 Message Date
a61955bb09 feat: finish summary and application for clap.
- finish summary and application for clap.
- add patch for utf8 string in std::format.
2025-09-24 16:20:21 +08:00
776adb0c96 feat: finish option and variable in clap 2025-09-23 16:13:52 +08:00
c85830902b fix: change the behavior of printf in string op.
- add compiler hint for checking the arguments of printf.
- change the return value of printf. from std::expected to normal value. use C++ exception to indicate error.
	* the error of printf usually caused by programmer. so it can be found when testing program.
	* so i use std::logic_error to indicate this and programmer should fix this before releasing program.
- change the use of encoding convertion. for those cases that convertion must be safe, we unwrap it directly.
2025-09-22 22:21:25 +08:00
7785773196 refactor: use new layout for YYCC 2025-08-12 16:32:59 +08:00