1
0

feat: finish basic of manual in clap

This commit is contained in:
2025-09-25 15:52:28 +08:00
parent c8d763bdcf
commit ce3d5b9556
9 changed files with 65 additions and 31 deletions

View File

@@ -20,6 +20,7 @@
namespace yycc::patch::format {
// TODO: order all use of std::format redirect to this function.
// TODO: all use of OP::printf should also switch to this function if possible.
template<class... Args>
std::string format(std::format_string<Args...> fmt, Args&&... args) {

View File

@@ -10,6 +10,8 @@
*/
namespace yycc::patch::stream {
// TODO: replace all old way of outputing utf8 string with this new way.
std::ostream& operator<<(std::ostream& os, const std::u8string_view& u8str);
std::ostream& operator<<(std::ostream& os, const char8_t* u8str);
std::ostream& operator<<(std::ostream& os, char8_t u8chr);