argon 0.12.0
Command line argument parser
Loading...
Searching...
No Matches
Position.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <argon/Argument.hpp>
4
5namespace argon {
6
8
11class ARGON_EXPORT Position final : public Argument {
12 std::string m_name;
13
14public:
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:14
Positional argument.
Definition Position.hpp:11