acadex-cli
v1.3.4
Published
A global CLI tool for managing Acadex projects with easy setup and automation
Maintainers
Readme
acadex-cli
A global CLI tool for managing Acadex projects with easy setup and automation.
Installation
Via npm (Global)
npm install -g acadex-cliIf you get an error about existing files:
# On macOS/Linux
sudo rm -f /usr/local/bin/acadex /opt/homebrew/bin/acadex
npm install -g acadex-cli
# On Windows (PowerShell as Admin)
npm install -g acadex-cli --forceAfter installation, you can use the acadex command from anywhere:
acadex --helpUninstall
To completely remove ACADEX CLI:
acadex uninstallOr manually:
npm uninstall -g acadex-cliManual Installation
Clone the repository and link it globally:
git clone <repository-url>
cd acadex-cli-global
npm linkUsage
Interactive Menu (New in v1.1!)
Launch the interactive menu with arrow key navigation:
acadex menuNavigate through categories using arrow keys and select commands easily!
Command Line
Run the CLI tool using:
acadex <command> [arguments]Available Commands
Setup & Installation
acadex setup- First-time full installationacadex install:2fa- Install 2FA packagesacadex install:notif- Install notification feature packagesacadex check- Check system requirements
Development
acadex serve- Start production servers (Laravel + Queue + Scheduler + Reverb)acadex services- Start background services only (for Herd)acadex dev- Start dev servers (Laravel + Queue + Logs + Vite + Reverb)acadex build- Build assets for productionacadex ui- Rebuild UI assets and clear cachesacadex start- Start Laravel server only
Testing
acadex test- Run PHPUnit testsacadex test:coverage- Run tests with coverage
Database
acadex migrate- Run database migrationsacadex migrate:fresh- Fresh migration with seedersacadex seed- Run database seedersacadex tinker- Start Laravel Tinker
Requirements
- Node.js >= 14.0.0
- Bash shell (Linux/macOS) or PowerShell (Windows)
- PHP and Composer (for Laravel projects)
License
MIT
