{"_id":"@aethex.os/cli","_rev":"5-e41b5afc67d7d775ae83dffa1bf62118","name":"@aethex.os/cli","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@aethex.os/cli","version":"1.0.0","keywords":["aethex","cli","compiler","metaverse","cross-platform","roblox","uefn","unity","verse","lua"],"author":{"name":"AeThex Foundation"},"license":"MIT","_id":"@aethex.os/cli@1.0.0","maintainers":[{"name":"mrpiglr","email":"mrpiglr@aethex.dev"}],"homepage":"https://aethex.dev/lang","bugs":{"url":"https://github.com/AeThex-Corporation/AeThexOS/issues"},"bin":{"aethex":"bin/aethex.js"},"dist":{"shasum":"1bb05143a538bc60376e5548f1f9922932b6dc77","tarball":"https://registry.npmjs.org/@aethex.os/cli/-/cli-1.0.0.tgz","fileCount":4,"integrity":"sha512-CwvumcAgfJ86YNOSaD04DIp1z8HKA5wElhQ6ANXn0XjLAeTrxnzhKF6EqraA/zD+/LqMPA3ujkfWmVoJqKdHqw==","signatures":[{"sig":"MEUCIQCiXEk2yzpomlofbb4n1HJ+SVAyoCiG+OaF4weH+wGbgwIgYGZB9slGZXBRDsdK5QAXP/BRyioyBAgXtGGuK5lT4ZI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21914},"main":"lib/compiler.js","type":"commonjs","engines":{"node":">=16.0.0"},"gitHead":"a3336954d434db098298f8eecdfbcd2e4f3cc7c4","_npmUser":{"name":"mrpiglr","email":"mrpiglr@aethex.dev"},"repository":{"url":"git+https://github.com/AeThex-Corporation/AeThexOS.git","type":"git","directory":"aethex-lang/packages/cli"},"_npmVersion":"11.6.2","description":"AeThex Language Command Line Interface - Compile .aethex files to JavaScript, Lua, Verse, and C#","directories":{},"_nodeVersion":"24.11.1","dependencies":{"chalk":"^4.1.2","commander":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.0_1770831461239_0.5546415448927589","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aethex.os/cli","version":"1.0.1","keywords":["aethex","cli","compiler","metaverse","cross-platform","roblox","uefn","unity","verse","lua"],"author":{"name":"AeThex Foundation"},"license":"MIT","_id":"@aethex.os/cli@1.0.1","maintainers":[{"name":"mrpiglr","email":"mrpiglr@aethex.dev"}],"homepage":"https://aethex.dev/lang","bugs":{"url":"https://github.com/AeThex-Corporation/AeThexOS/issues"},"bin":{"aethex":"bin/aethex.js"},"dist":{"shasum":"1152e3f666ea74f08f3ca4216533dcc5ba10b324","tarball":"https://registry.npmjs.org/@aethex.os/cli/-/cli-1.0.1.tgz","fileCount":4,"integrity":"sha512-3UT5TS0/uDWj8IF/K8fevDEnDKnUjnn/8wohXOUVB8Uo3Exq1KEHoFeKsRZdza1AtszAmfbMpILAnZ3elCudpg==","signatures":[{"sig":"MEYCIQD5DsQhgz72s37N/9PA+v/vPSeb0uvPgAo+w76hQvdD3QIhAK4I1EGhGMH2RDwhpDrPzi5/CQoIr71N4m/DrutgHD+A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21914},"main":"lib/compiler.js","type":"commonjs","engines":{"node":">=16.0.0"},"gitHead":"a3336954d434db098298f8eecdfbcd2e4f3cc7c4","_npmUser":{"name":"mrpiglr","email":"mrpiglr@aethex.dev"},"repository":{"url":"git+https://github.com/AeThex-Corporation/AeThexOS.git","type":"git","directory":"aethex-lang/packages/cli"},"_npmVersion":"11.6.2","description":"AeThex Language Command Line Interface - Compile .aethex files to JavaScript, Lua, Verse, and C#","directories":{},"_nodeVersion":"24.11.1","dependencies":{"chalk":"^4.1.2","commander":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.1_1770831509557_0.5973072449768673","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aethex.os/cli","version":"1.1.0","keywords":["aethex","metaverse","compiler","roblox","uefn","unity","cross-platform"],"author":{"name":"AeThex Corporation"},"license":"MIT","_id":"@aethex.os/cli@1.1.0","maintainers":[{"name":"mrpiglr","email":"mrpiglr@aethex.dev"}],"homepage":"https://github.com/AeThex-Corporation/AeThex-OS#readme","bugs":{"url":"https://github.com/AeThex-Corporation/AeThex-OS/issues"},"bin":{"aethex":"bin/aethex.js"},"dist":{"shasum":"23fbafbac12b113e761e87a224728cb5917719a9","tarball":"https://registry.npmjs.org/@aethex.os/cli/-/cli-1.1.0.tgz","fileCount":50,"integrity":"sha512-VVpRTmUWRF6EyVDki6oYo+3b8+xrRbaVJB6r5nZMqKT0OfxkacF+5eORa56e88QgmB/PgQxoFdyRITNAojWtZA==","signatures":[{"sig":"MEYCIQCBkgy4/F3bCxVHciqaFJVb0GFnoXzK6kj+OSKxCJJQrAIhAJ8xjJu0wkPk1EKdFnNwWfyu5hiGkrepiwPROP5GSB0l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":426948},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"9fde7c413c9e7d47107ca395c6b73d77e3e58216","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc"},"_npmUser":{"name":"mrpiglr","email":"mrpiglr@aethex.dev"},"repository":{"url":"git+https://github.com/AeThex-Corporation/AeThex-OS.git","type":"git","directory":"packages/aethex-cli"},"_npmVersion":"10.9.2","description":"AeThex Language CLI - Write once, deploy everywhere","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ink":"^7.0.3","chalk":"^4.1.2","react":"^19.2.6","chokidar":"^3.5.3","commander":"^12.0.0","ink-spinner":"^5.0.0","ink-text-input":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.1.0_1783398156066_0.19971825919374941","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@aethex.os/cli","version":"1.1.1","keywords":["aethex","metaverse","compiler","roblox","uefn","unity","cross-platform"],"author":{"name":"AeThex Corporation"},"license":"MIT","_id":"@aethex.os/cli@1.1.1","maintainers":[{"name":"mrpiglr","email":"mrpiglr@aethex.dev"}],"homepage":"https://aethex.dev/docs","bugs":{"url":"https://git.aethex.tech/Labs/os/issues"},"bin":{"aethex":"bin/aethex.js"},"dist":{"shasum":"b30770b4139e6f1d55574188b91fe219f23b1bd8","tarball":"https://registry.npmjs.org/@aethex.os/cli/-/cli-1.1.1.tgz","fileCount":50,"integrity":"sha512-mvs4pZzHWyL2lCfMBTgmkcxuRcrI/zPebZJYL5B1/skhary/ZnwANnVfjHqsxQl0OHbnLx1L7V3xuXvihllWWQ==","signatures":[{"sig":"MEYCIQDErwzTpZbjzKbYXF07dUR6qWQsmfllc0T8G06DIpGZOwIhAL7UwoZOmFRH3fzRRdLNrEf/SO3GY96SxsDZmclKi6pH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":427235},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"24b4f729eb537662dab476c38d7b5de0500c42cc","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc"},"_npmUser":{"name":"mrpiglr","email":"mrpiglr@aethex.dev"},"repository":{"url":"git+https://git.aethex.tech/Labs/os.git","type":"git","directory":"packages/aethex-cli"},"_npmVersion":"10.9.2","description":"AeThex Language CLI - Write once, deploy everywhere","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ink":"^7.0.3","chalk":"^4.1.2","react":"^19.2.6","chokidar":"^3.5.3","commander":"^12.0.0","ink-spinner":"^5.0.0","ink-text-input":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.1.1_1783404930172_0.3277712247818223","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@aethex.os/cli","version":"1.1.2","description":"AeThex Language CLI - Write once, deploy everywhere","main":"lib/index.js","bin":{"aethex":"bin/aethex.js"},"scripts":{"test":"jest","build":"tsc","dev":"tsc --watch"},"keywords":["aethex","metaverse","compiler","roblox","uefn","unity","cross-platform"],"author":{"name":"AeThex Corporation"},"license":"MIT","repository":{"type":"git","url":"git+https://git.aethex.tech/Labs/os.git","directory":"packages/aethex-cli"},"dependencies":{"chalk":"^4.1.2","chokidar":"^3.5.3","commander":"^12.0.0","ink":"^7.0.3","ink-spinner":"^5.0.0","ink-text-input":"^6.0.0","react":"^19.2.6"},"devDependencies":{"@types/node":"^20.0.0","jest":"^29.7.0","typescript":"^5.3.0"},"engines":{"node":">=18.0.0"},"homepage":"https://aethex.dev/docs","bugs":{"url":"https://git.aethex.tech/Labs/os/issues"},"_id":"@aethex.os/cli@1.1.2","gitHead":"97243236db9fc81d76f45442ceb37191251caac6","types":"./lib/index.d.ts","_nodeVersion":"22.22.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-hLdJ4V+3vI2S0Kdm/LM57gY4Uk+Zk4yy0qoUeOTIiSZcQ2EDQ7xQWDoCF9Be5dMtE1o/uPIjMVQT7tm1wKqCvg==","shasum":"253253ae0a3ac59c85e74f6420d53657ba5a23c3","tarball":"https://registry.npmjs.org/@aethex.os/cli/-/cli-1.1.2.tgz","fileCount":50,"unpackedSize":429724,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCx8Au4dkVERH8tiFUyvM96MdDgv8wvV1iEQG9ZVRCpBQIhALmTdjj8Oe3aqXF1uAucNL0TAPhLOwhbPI9PaA0IiAzj"}]},"_npmUser":{"name":"mrpiglr","email":"mrpiglr@aethex.dev"},"directories":{},"maintainers":[{"name":"mrpiglr","email":"mrpiglr@aethex.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.1.2_1783406160434_0.6999589913649267"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-11T17:37:41.139Z","modified":"2026-07-07T06:36:00.683Z","1.0.0":"2026-02-11T17:37:41.388Z","1.0.1":"2026-02-11T17:38:29.696Z","1.1.0":"2026-07-07T04:22:36.233Z","1.1.1":"2026-07-07T06:15:30.314Z","1.1.2":"2026-07-07T06:36:00.560Z"},"bugs":{"url":"https://git.aethex.tech/Labs/os/issues"},"author":{"name":"AeThex Corporation"},"license":"MIT","homepage":"https://aethex.dev/docs","keywords":["aethex","metaverse","compiler","roblox","uefn","unity","cross-platform"],"repository":{"type":"git","url":"git+https://git.aethex.tech/Labs/os.git","directory":"packages/aethex-cli"},"description":"AeThex Language CLI - Write once, deploy everywhere","maintainers":[{"name":"mrpiglr","email":"mrpiglr@aethex.dev"}],"readme":"# @aethex.os/cli\n\nThe AeThex language CLI. Write once in AeThex, compile to JavaScript, Roblox (Lua), UEFN (Verse), or Unity (C#).\n\n## Install\n\n```bash\nnpm install -g @aethex.os/cli\n```\n\n## Commands\n\n### Compile\n\n```bash\naethex compile src/main.aethex\naethex compile src/main.aethex --target roblox\naethex compile src/main.aethex --target uefn --output dist/game.verse\naethex compile src/main.aethex --watch\n```\n\n| Flag | Options | Default |\n|---|---|---|\n| `--target` / `-t` | `javascript`, `roblox`, `uefn`, `unity` | `javascript` |\n| `--output` / `-o` | file path | auto (same name, right extension) |\n| `--watch` / `-w` | — | off |\n\n### Build the whole project\n\n```bash\naethex build              # compiles every .aethex file per aethex.config.json\naethex build -t roblox    # override target\n```\n\n### Run instantly\n\n```bash\naethex run src/main.aethex   # compile to JS in memory and execute\n```\n\n### New project\n\n```bash\naethex new my-game\naethex new my-passport-app --template passport\naethex new my-game --template gameforge-starter-kit   # clones from git.aethex.tech\n```\n\n### Init in existing project\n\n```bash\naethex init\n```\n\n### Forgejo (git.aethex.tech)\n\n```bash\naethex auth login --token <pat>     # connect your account\naethex template list                # browse template repos\naethex template clone <name> [dir]  # clone one\naethex publish [--private]          # create repo + push this project\naethex open                         # open your repo in the browser\n```\n\n### Maintenance\n\n```bash\naethex doctor    # environment health + Forgejo ping\naethex upgrade   # self-update from npm\n```\n\n## AeThex language\n\n```aethex\nimport { Passport, SafeInput } from \"@aethex.os/core\"\n\nreality MyGame {\n    platforms: [roblox, web, uefn]\n    type: \"multiplayer\"\n}\n\njourney Login(username, password) {\n    platform: all\n\n    let input = SafeInput.validate(username)\n    when input.valid {\n        let passport = new Passport(username)\n        sync passport across [roblox, web]\n        notify \"Welcome, \" + username\n        reveal passport\n    } otherwise {\n        notify \"Invalid username\"\n    }\n}\n```\n\n| Keyword | Equivalent |\n|---|---|\n| `reality` | class / object |\n| `journey` | function |\n| `when` / `otherwise` | if / else |\n| `let` | variable |\n| `notify` | log / alert |\n| `reveal` | return |\n| `sync across` | cross-platform state sync |\n\n## Programmatic API\n\nFor build tools and IDE extensions, use [@aethex.os/lang](https://npmjs.com/package/@aethex.os/lang) instead.\n\n## Part of the @aethex.os ecosystem\n\nSee [@aethex.os/core](https://npmjs.com/package/@aethex.os/core) for the full package list.\n","readmeFilename":"README.md"}