@autonia/cli
v0.1.32
Published
Autonia Deployment CLI
Downloads
58
Readme
🛠️ CLI Tool Setup & Usage
Follow the steps below to install and use the CLI tool:
# 1. Install dependencies
npm install
# 2. Build the CLI tool (if using TypeScript or a bundler like Vite)
npm run build
# 3. Install the CLI globally from the local project folder
npm install -g ./
# 4. Run the CLI command
agx deploy
📦 Vite App Compatibility
Tested with vite-express-ssr-ts.
To ensure the build includes package.json, add the following to your package.json:
"scripts": {
"build": "npm run clean && npm run build:client && npm run build:server && npm run copy-package-json",
"copy-package-json": "cp package.json dist/"
}