2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-03 05:15:53 +00:00
metaforce/hecl/driver/ToolInstallAddon.hpp
Luke Street 9ca1a38171 Use UTF-8 exclusively internally
This removes SystemString, SystemChar, etc.
All filepaths and log strings are assumed to be UTF-8,
with conversions to UTF-16 for Windows APIs as appropriate.

Updates amuse, athena, boo, kabufua and nod
2021-06-30 14:20:45 -04:00

35 lines
943 B
C++

#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");
help.beginWrap();
help.wrap("hecl-installaddon - Installs embedded Blender addon into local Blender\n");
help.endWrap();
help.secHead("SYNOPSIS");
help.beginWrap();
help.wrap("hecl installaddon\n");
help.endWrap();
help.secHead("DESCRIPTION");
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.");
help.endWrap();
}
std::string_view toolName() const override { return "installaddon"sv; }
};