tools: implement 'nfdc cs erase' command
refs #4318
Change-Id: If4dc401a3efff44a5bf4b3074d21797f8384cf9f
diff --git a/tools/nfdc/format-helpers.hpp b/tools/nfdc/format-helpers.hpp
index 957773b..1ee88ee 100644
--- a/tools/nfdc/format-helpers.hpp
+++ b/tools/nfdc/format-helpers.hpp
@@ -186,6 +186,16 @@
std::ostream&
operator<<(std::ostream& os, OnOff v);
+/** \brief print boolean as 'yes' or 'no'
+ */
+struct YesNo
+{
+ bool flag;
+};
+
+std::ostream&
+operator<<(std::ostream& os, YesNo v);
+
namespace detail {
template<typename DurationT>