Searched refs:ConvertCommand (Results 1 – 4 of 4) sorted by relevance
27 class ConvertCommand : public Command {29 explicit ConvertCommand() : Command("convert") { in ConvertCommand() function
52 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()90 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()119 ASSERT_THAT(ConvertCommand().Execute(convert_args, &std::cerr), Eq(0)); in TEST_F()
346 const char* ConvertCommand::kOutputFormatProto = "proto";347 const char* ConvertCommand::kOutputFormatBinary = "binary";349 int ConvertCommand::Action(const std::vector<std::string>& args) { in Action()378 if (!output_format_ || output_format_.value() == ConvertCommand::kOutputFormatBinary) { in Action()380 } else if (output_format_.value() == ConvertCommand::kOutputFormatProto) { in Action()
73 AddOptionalSubcommand(util::make_unique<ConvertCommand>()); in MainCommand()