navid/veins / 6169bc0f55b5c2ca7a3d19b3405cfaa6fa103a02cf0867e5daa279487e292194 / xveins/src/cli/net_commands.h
net_commands.h
← xveins/src/cli · 818 bytes · raw · download
#pragma once
#include <string>
#include <string_view>
#include <vector>
namespace vn {
int remote_run(const std::vector<std::string>& args);
int clone_run(const std::vector<std::string>& args);
int fetch_run(const std::vector<std::string>& args);
int pull_run(const std::vector<std::string>& args);
int gg_run(const std::vector<std::string>& args);
int push_run(const std::vector<std::string>& args);
int serve_run(const std::vector<std::string>& args);
int key_run(const std::vector<std::string>& args);
int auth_run(const std::vector<std::string>& args);
int access_run(const std::vector<std::string>& args);
int whoami_run(const std::vector<std::string>& args);
// Print help for a network command. Returns false when `command` is not one of
// them.
bool net_help(std::string_view command);
} // namespace vn