startgit

Static 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)


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