Main: Add CLI arguments to enable pretty printing / dumping

This commit is contained in:
Riyyi
2023-03-20 21:38:19 +01:00
parent 94dcd4c50e
commit eedfe53b96
4 changed files with 90 additions and 22 deletions
+17
View File
@@ -0,0 +1,17 @@
/*
* Copyright (C) 2023 Riyyi
*
* SPDX-License-Identifier: MIT
*/
#include "settings.h"
namespace blaze {
std::string_view Settings::get(std::string_view key) const
{
VERIFY(m_settings.find(key) != m_settings.end(), "setting does not exist");
return m_settings.at(key);
};
} // namespace blaze