metaforce/hecl/driver/ToolInstallAddon.hpp

35 lines
943 B
C++
Raw Permalink Normal View History

2020-04-10 03:19:33 +00:00
#pragma once
#include "ToolBase.hpp"
#include <cstdio>
class ToolInstallAddon final : public ToolBase {
public:
explicit ToolInstallAddon(const ToolPassInfo& info) : ToolBase(info) {}
int run() override {
hecl::blender::SharedBlenderToken.getBlenderConnection();
return 0;
}
static void Help(HelpOutput& help) {
help.secHead("NAME");
2020-04-10 03:19:33 +00:00
help.beginWrap();
help.wrap("hecl-installaddon - Installs embedded Blender addon into local Blender\n");
2020-04-10 03:19:33 +00:00
help.endWrap();
help.secHead("SYNOPSIS");
2020-04-10 03:19:33 +00:00
help.beginWrap();
help.wrap("hecl installaddon\n");
2020-04-10 03:19:33 +00:00
help.endWrap();
help.secHead("DESCRIPTION");
2020-04-10 03:19:33 +00:00
help.beginWrap();
help.wrap("Installs the hecl Blender addon into Blender. The path to the blender executable "
"can be overridden by setting the BLENDER_BIN environment variable.");
2020-04-10 03:19:33 +00:00
help.endWrap();
}
std::string_view toolName() const override { return "installaddon"sv; }
2020-04-10 03:19:33 +00:00
};