Loading...
Searching...
No Matches
helpFlag.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "flagStacker/flag/flag.hpp"
6
7namespace by {
8
9 struct cli;
10
21 class helpFlag: public flag {
22 BY(ME(helpFlag, flag))
23
24 public:
25 helpFlag(cli& c);
26
27 public:
28 const nchar* getName() const override;
29 const nchar* getDescription() const override;
30
31 protected:
32 const strings& _getRegExpr() const override;
33 res _onTake(const flagArgs& tray) const override;
34
35 private:
36 cli& _cli;
37 };
38}
Flag for displaying command-line interface help information.
Definition helpFlag.hpp:21
Definition tnarr.hpp:9
Definition cli.hpp:40
to Top