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

@@ -3,9 +3,11 @@
namespace yycc::carton::clap::summary {
Summary::Summary(const std::u8string_view &name,
const std::u8string_view &bin_name,
const std::u8string_view &author,
const std::u8string_view &version,
const std::u8string_view &description) : name(name), author(author), version(version), description(description) {}
const std::u8string_view &description) :
name(name), bin_name(bin_name), author(author), version(version), description(description) {}
Summary::~Summary() {}
@@ -13,6 +15,10 @@ namespace yycc::carton::clap::summary {
return this->name;
}
std::u8string_view Summary::get_bin_name() const {
return this->bin_name;
}
std::u8string_view Summary::get_author() const {
return this->author;
}