Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redtamarin driver #203

Open
zwetan opened this issue Oct 11, 2020 · 4 comments
Open

redtamarin driver #203

zwetan opened this issue Oct 11, 2020 · 4 comments
Labels
external related to external project redtamarin-cli The Redtamarin command-line interface

Comments

@zwetan
Copy link
Member

zwetan commented Oct 11, 2020

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

  • running a redshell dependent app
  • executing a command

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 zwetan added the redtamarin-cli The Redtamarin command-line interface label Oct 11, 2020
@zwetan
Copy link
Member Author

zwetan commented Oct 11, 2020

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

  • different Redtamarin SDK versions
  • different Redtamarin shell (redshell) versions
  • different sets of "standard libraries"

@zwetan
Copy link
Member Author

zwetan commented Oct 11, 2020

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
Copy link
Member Author

zwetan commented Oct 11, 2020

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
Copy link
Member Author

zwetan commented Oct 11, 2020

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.

@zwetan zwetan added the external related to external project label Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external related to external project redtamarin-cli The Redtamarin command-line interface
Projects
None yet
Development

No branches or pull requests

1 participant