mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 04:27:42 +00:00
Additional addon features for MP3
This commit is contained in:
34
hecl/driver/ToolInstallAddon.hpp
Normal file
34
hecl/driver/ToolInstallAddon.hpp
Normal file
@@ -0,0 +1,34 @@
|
||||
#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(_SYS_STR("NAME"));
|
||||
help.beginWrap();
|
||||
help.wrap(_SYS_STR("hecl-installaddon - Installs embedded Blender addon into local Blender\n"));
|
||||
help.endWrap();
|
||||
|
||||
help.secHead(_SYS_STR("SYNOPSIS"));
|
||||
help.beginWrap();
|
||||
help.wrap(_SYS_STR("hecl installaddon\n"));
|
||||
help.endWrap();
|
||||
|
||||
help.secHead(_SYS_STR("DESCRIPTION"));
|
||||
help.beginWrap();
|
||||
help.wrap(_SYS_STR("Installs the hecl Blender addon into Blender. The path to the blender executable ")
|
||||
_SYS_STR("can be overridden by setting the BLENDER_BIN environment variable."));
|
||||
help.endWrap();
|
||||
}
|
||||
|
||||
hecl::SystemStringView toolName() const override { return _SYS_STR("installaddon"sv); }
|
||||
};
|
||||
Reference in New Issue
Block a user