Jump to content

[WIP] MTA CLI


Piorun

Recommended Posts

Hi,

This year I decided to make an unofficial CLI for MTA. For now I have:

  1. Resource is restarting after you will change source file (ex. .Lua)
  2. You can create new resource by typing "mta create <resourceName>" (i think it's great for begginers)
  3. You can compile all .Lua files to .luac just simply typing "mta compile" into CMD

This CLI isn't finished yet so I'm looking for some feedback and features to add. You can test it today simply by installing it as global npm package. Full instalation manual is on repository.

You can find it here: https://github.com/pawel-miczka/mta-cli

Installation process is simple. First you need NodeJS on local computer. Then in CMD type:

npm install -g mta-cli

and then you can type into your CMD:

mta --help

for more details.

If you don't have NodeJS installed I highly recommend doing it via chocolatey package manager (https://chocolatey.org/). If you have Chocolatey on your computer just simply type:

choco install nodejs

and NodeJS should get installed. You can install NodeJS in any different way.

Edited by Piorun
  • Thanks 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...