2017-01-28 04:49:09 +08:00
|
|
|
#include "pch.h"
|
2017-01-13 09:41:50 +08:00
|
|
|
#include "vcpkg_Commands.h"
|
|
|
|
#include "vcpkg_System.h"
|
|
|
|
|
2017-01-13 14:03:57 +08:00
|
|
|
namespace vcpkg::Commands::Contact
|
2017-01-13 09:41:50 +08:00
|
|
|
{
|
2017-02-18 12:13:36 +08:00
|
|
|
const std::string& email()
|
|
|
|
{
|
|
|
|
static const std::string s_email = R"(vcpkg@microsoft.com)";
|
|
|
|
return s_email;
|
|
|
|
}
|
|
|
|
|
2017-04-04 07:00:17 +08:00
|
|
|
void perform_and_exit(const VcpkgCmdArguments& args)
|
2017-01-13 09:41:50 +08:00
|
|
|
{
|
|
|
|
args.check_exact_arg_count(0);
|
2017-02-18 07:52:45 +08:00
|
|
|
args.check_and_get_optional_command_arguments({});
|
|
|
|
|
2017-02-18 12:13:36 +08:00
|
|
|
System::println("Send an email to %s with any feedback.", email());
|
2017-03-23 08:45:39 +08:00
|
|
|
Checks::exit_success(VCPKG_LINE_INFO);
|
2017-01-13 09:41:50 +08:00
|
|
|
}
|
|
|
|
}
|