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