17namespace sequoia::runtime
22 enum class append_mode { no, yes };
29 shell_command(std::string_view preamble, std::string cmd,
const std::filesystem::path& output, append_mode app = append_mode::no);
32 bool empty()
const noexcept
34 return m_Command.empty();
38 const std::string& string()
const noexcept
49 return rhs.empty() ? lhs :
51 std::string{lhs.m_Command}.append(
"&&").append(rhs.m_Command);
62 std::string m_Command;
64 shell_command(std::string cmd,
const std::filesystem::path& output, append_mode app);
Definition: ShellCommands.hpp:20