Skip to content

LightYourWay/grandMA3-cli-tools

Repository files navigation

grandMA3 CLI Tools

⚠️ OPEN ALPHA → software is not showready yet

a feature rich utility for MA3 to allow operators to take advantage of LUA easily.

installation

The very limited featureset of the plugin can be directly installed and tested by grandMA3 operators. Just head over the Releases Page and download it from there. Developers can git clone this repository and transpile the plugin by themselves. - see #developers

usage / possible future featureset

  • ma.cli - commandline tools to navigate the consoles cli easily
    • ma.cli() - opens text input and asks for cmd
    • ma.cli("cd /") - parses input and executes the grandma3-cli-tools function
    • ma.cli{"Printf", Version()} - directly executes the grandma3-cli-tools function
    • ma.cli(true) - opens popup over and over
    • ma.cli("Fixture 1") - selects Fixture 1
  • ma.ui - UI Tools to build great user experiences with e.g. Layout Views
    • ma.ui.gotoSequ(display_handle, 1) - spawns Goto Popup for Sequ 1
  • ma.op - easy to integrate tools for MA3 Operators
  • ma.cfg - configuration helper functions (not developed yet)
  • ma.utils - generic helper ulilities mostly for internal use
    • ma.utils.dump(table) - returns string to allow for printing tables
  • ma.loop - a main event loop kind of aproach to hook functions into for repeated execution. (not developed yet)

developers

prerequisites

The dependencies can be either installed by npm installing them or git cloned and npm linked manually to also be able to incorporate changes in those dependencies. To make grandma3-cli-tools work, you need

  • grandMA3-types - TypeScript definitions for the grandMA3 Lua API
  • grandMA3-tstl-plugin - a TypeScriptToLua plugin that allows for direct export to grandMA3 compatible Lua files

as well as grandma3-cli-tools itself. After installing the project with npm install you can optionally link grandMA3-types and grandMA3-tstl-plugin to your project via npm link.

transpile

npm run build

import to MA3

As long as the plugin development folder is located in the lib_plugins folder of grandMA3 the plugin can directly be imported like so: How to import the plugin

Bugs, Missing Features & Ideas

  • 💡 thousand ideas for the plugin are on the horizon → share yours by creating a GitHub issue or collaborating on the project!

License

Copyright (C) Lukas Runge Veranstaltungstechnik

This project is licensed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later). See COPYING.LESSER and COPYING for the full license texts.

About

a feature rich utility for MA3 written in Typescript to allow operators to take advantage of LUA easily.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

 
 
 

Contributors