feat: finish basic of manual in clap
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user