Corsaair / redtamarin

AS3 running on the command line / server side
http://redtamarin.com
Other
119 stars 23 forks source link

redtamarin driver #203

Open zwetan opened 3 years ago

zwetan commented 3 years ago

The Redtamarin command-line interface is a cross-platform toolchain for developing, building, running, and publishing ActionScript 3.0 applications.

The driver is named redtamarin and has two responsibilities

The CLI command structure consists of the driver (redtamarin), the command, and possibly command arguments and options.

for example: $ redtamarin program.abc $ redtamarin library.abc program.abc $ redtamarin --debugger program.abc $ redtamarin build --output bin-release/helloworld etc.

zwetan commented 3 years ago

The Redtamarin CLI is included with the Redtamarin SDK

it does not update the same way as the other tools, eg. latest SDK install the latest CLI

The redtamarin driver should be able to manage

zwetan commented 3 years ago

If before the idea was to keep the "building parts" under the responsibility of the redbean tool (see #33) we are now integrating those parts into the redtamarin driver

This does not make redbean obsolete, both tools have their own needs.

Also, for now it is not the goal of the redtamarin driver to manage packages, libraries and other tools this is still under the distro tool responsibility (see #34).

zwetan commented 3 years ago

The redtamarin driver like nay other tools of the SDK will also follow CLI best practice (see #188) but because it is a "driver" it will offer multiple commands (for example: "run", "build", etc.)

Which commands exactly is yet TBD, will evolve depending on the needs.

zwetan commented 3 years ago

Because the redtamarin driver is more complex than a basic command-line utility its source code is on its own repository: https://github.com/Corsaair/redtamarin-cli

But as we distribute it with the Redtamarin SDK we document the project here.