// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "../zen.h" namespace zen { /** Wipe directories */ class WipeCommand : public ZenCmdBase { public: static constexpr char Name[] = "wipe"; static constexpr char Description[] = "Wipe the contents of a directory"; WipeCommand(); ~WipeCommand(); virtual cxxopts::Options& Options() override { return m_Options; } virtual int Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) override; virtual ZenCmdCategory& CommandCategory() const override { return g_UtilitiesCategory; } private: cxxopts::Options m_Options{Name, Description}; std::filesystem::path m_Directory; bool m_KeepReadOnlyFiles = true; bool m_Quiet = false; bool m_Yes = false; bool m_PlainProgress = false; bool m_Verbose = false; bool m_Dryrun = false; bool m_BoostWorkerThreads = false; }; } // namespace zen