@aethex.os/cli
v1.0.1
Published
AeThex Language Command Line Interface - Compile .aethex files to JavaScript, Lua, Verse, and C#
Maintainers
Readme
@aethex/cli
AeThex Language Command Line Interface - Compile .aethex files to JavaScript, Lua, Verse, and C#.
Installation
npm install -g @aethex/cliUsage
Compile a file
aethex compile myfile.aethexCompile to specific target
# JavaScript (default)
aethex compile myfile.aethex --target javascript
# Roblox/Lua
aethex compile myfile.aethex --target roblox
# UEFN/Verse (coming soon)
aethex compile myfile.aethex --target uefn
# Unity/C# (coming soon)
aethex compile myfile.aethex --target unitySave to file
aethex compile myfile.aethex -o output.js
aethex compile myfile.aethex -t roblox -o game.luaWatch mode
aethex compile myfile.aethex --watchCreate new project
# Basic project
aethex new my-project
# With template
aethex new my-game --template passportInitialize in existing directory
aethex initExample
Create hello.aethex:
reality HelloWorld {
platforms: all
}
journey Greet(name) {
platform: all
notify "Hello, " + name + "!"
}Compile it:
aethex compile hello.aethex -o hello.jsRun it:
node hello.jsCommands
aethex compile <file>- Compile an AeThex fileaethex new <name>- Create new projectaethex init- Initialize in current directoryaethex --help- Show helpaethex --version- Show version
Options
-t, --target <platform>- Target platform (javascript, roblox, uefn, unity)-o, --output <file>- Output file path-w, --watch- Watch for changes--template <type>- Project template (basic, passport, game)
Targets
| Target | Language | Platform | Status |
|--------|----------|----------|--------|
| javascript | JavaScript | Web, Node.js | ✅ Ready |
| roblox | Lua | Roblox | ✅ Ready |
| uefn | Verse | Fortnite | 🚧 Coming Soon |
| unity | C# | Unity, VRChat | 🚧 Coming Soon |
Learn More
License
MIT © AeThex Foundation
