ewvjs-cli
v1.0.3
Published
CLI tool for packaging ewvjs applications
Maintainers
Readme
ewvjs-cli
CLI tool for packaging ewvjs applications into standalone executables.
Installation
npm install -g ewvjs-cliOr use with npx:
npx ewvjs-cli --helpUsage
List available templates
ewvjs-cli init --list-templatesInitialize a new ewvjs project
ewvjs-cli init my-appWith a specific template:
# Basic template (default - interactive with APIs)
ewvjs-cli init my-app --template basicPackage your application
ewvjs-cli package app.js -o myapp -n "My Application"Options
-o, --output <name>- Output executable name (default: "app")-a, --assets <dir>- Assets directory to include (default: "./assets")-i, --icon <file>- Application icon (.ico file)-n, --name <name>- Application name (default: "My App")-t, --target <target>- Target platform (default: "node18-win-x64")-m, --modules <modules>- Additional node modules to bundle (comma-separated)--compress- Compress the executable with UPX--no-native- Skip bundling native DLLs
Example
# Create a new project
ewvjs-cli init my-awesome-app
cd my-awesome-app
# Install dependencies
npm install
# Run in development
npm start
# Create with a specific template
ewvjs-cli init simple-app --template basic
# Package for distribution
ewvjs-cli package app.js -o MyAwesomeApp -n "My Awesome App" -i icon.ico --compressLicense
MIT
