mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
First sketch of the ArgumentParser class
This commit is contained in:
parent
11e2b43086
commit
424b22aa6a
@ -0,0 +1,14 @@
|
|||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace argparse {
|
||||||
|
|
||||||
|
class ArgumentParser {
|
||||||
|
public:
|
||||||
|
ArgumentParser(const std::string& program_name) :
|
||||||
|
program_name_(program_name) {}
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string program_name_;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
5
tests/main.cpp
Normal file
5
tests/main.cpp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <argparse.hpp>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user