startgitStatic page generator for git repositories |
git clone git://git.dimitrijedobrota.com/startgit.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
arguments.hpp (842B)
0 #pragma once
2 #include <filesystem>
3 #include <string>
4 #include <unordered_set>
5 #include <vector>
7 namespace startgit
8 {
10 struct arguments_t
11 {
12 std::filesystem::path output_dir = ".";
13 std::vector<std::filesystem::path> repos;
14 std::string resource_url = "https://dimitrijedobrota.com";
15 std::string base_url = "https://git.dimitrijedobrota.com";
16 std::string author = "Dimitrije Dobrota";
17 std::string title = "Collection of git repositories";
18 std::string description = "Publicly available personal projects";
19 std::string github = "DimitrijeDobrota";
20 std::unordered_set<std::filesystem::path> special = {
21 "BUILDING.md",
22 "CODE_OF_CONDUCT.md",
23 "CONTRIBUTING.md",
24 "HACKING.md",
25 "LICENSE.md",
26 "README.md",
27 };
28 bool force = false;
29 };
31 extern arguments_t args; // NOLINT
33 } // namespace startgit