Main: Add CLI arguments to enable pretty printing / dumping
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user