aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_contact.cpp
blob: 7f41618027bcbc09de01bd4e7810505afffd26dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "pch.h"

#include "vcpkg_Commands.h"
#include "vcpkg_System.h"

namespace vcpkg::Commands::Contact
{
    const std::string& email()
    {
        static const std::string s_email = R"(vcpkg@microsoft.com)";
        return s_email;
    }

    void perform_and_exit(const VcpkgCmdArguments& args)
    {
        args.check_exact_arg_count(0);
        args.check_and_get_optional_command_arguments({});

        System::println("Send an email to %s with any feedback.", email());
        Checks::exit_success(VCPKG_LINE_INFO);
    }
}