mirror of https://github.com/XS-MLVP/picker.git
14 lines
348 B
C++
14 lines
348 B
C++
|
|
#include <picker/picker.hpp>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
auto ctx = std::map<std::string, std::string>{
|
|
{"dut_name", "dut"},
|
|
{"mode_name", "test_name"},
|
|
{"body", "<this is body>"},
|
|
};
|
|
PK_MESSAGE("render result:\n%s", picker::template_rander("template/python/pybind11.cpp", ctx).c_str());
|
|
return 0;
|
|
}
|