argon  0.12.0
Command line argument parser
Position.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <argon/Argument.hpp>
4 
5 namespace argon {
6 
8 
11 class ARGON_EXPORT Position final : public Argument {
12  std::string m_name;
13 
14 public:
15  Position(std::string name, const std::string& description);
16 
17  [[nodiscard]] auto format() const -> std::string override;
18  [[nodiscard]] auto name() const -> std::string { return m_name; }
19 };
20 
21 }
Base type of all arguments.
Definition: Argument.hpp:13
Positional argument.
Definition: Position.hpp:11