32 lines
964 B
C++
32 lines
964 B
C++
#ifndef SHARED_COMMANDS_HPP
|
|
#define SHARED_COMMANDS_HPP
|
|
|
|
#include "servers.hpp"
|
|
#include "command_registry.hpp"
|
|
|
|
namespace dropshell {
|
|
|
|
// defined in install.cpp
|
|
bool rsync_tree_to_remote(
|
|
const std::string &local_path,
|
|
const std::string &remote_path,
|
|
server_env_manager &server_env,
|
|
bool silent);
|
|
|
|
// defined in install.cpp
|
|
bool install_service(const std::string& server, const std::string& service, bool silent);
|
|
bool uninstall_service(const std::string& server, const std::string& service, bool silent);
|
|
std::string get_arch();
|
|
|
|
// defined in health.cpp
|
|
std::string healthtick(const std::string& server, const std::string& service);
|
|
std::string HealthStatus2String(HealthStatus status);
|
|
|
|
// defined in standard_autocomplete.cpp
|
|
void std_autocomplete(const CommandContext& ctx);
|
|
void std_autocomplete_allowallservices(const CommandContext& ctx);
|
|
|
|
|
|
} // namespace dropshell
|
|
#endif
|