The INEX SPA framework is all about speed, simplicity, and performance, and now, it has its own dedicated Command Line Interface (CLI) to enhance development workflows: Ammar.
Ammar is a lightweight yet powerful CLI tool designed to streamline common development tasks in INEX SPA. Whether you're managing routes, handling database migrations, or automating tedious tasks, Ammar provides an intuitive and efficient way to interact with your project.
Key Features of Ammar CLI:
1. Effortless Database Management
- Generate SQL files with default content in seconds.
- Delete database migration files with a simple command, specifying the operation type and table name.
- Execute commands directly from the terminal, such as:
This removes a database migration file related to thephp ammar delete:db -1 delete -2 Users
Users
table deletion.
2. Intelligent Route Handling
- Quickly delete route files without manually searching for them.
- Ammar automatically detects different route file formats (
[route].php
,[route]_dynamic.php
, etc.). - Command example:
This removes all route files associated withphp ammar delete:route -1 Home
Home
.
3. Simple and Clean Syntax
- No unnecessary complexity—just straightforward commands that get the job done.
- Supports
--help
for quick descriptions of available commands.
4. No Overwrites by Default
- Unlike some CLIs, Ammar doesn’t include
--force
to prevent accidental file loss.
Why Ammar CLI?
- Lightweight: Keeps your development environment fast and efficient.
- Developer-Friendly: Designed with a clean and intuitive command structure.
- Tailored for INEX SPA: Unlike generic CLI tools, Ammar is optimized for the unique workflow of INEX SPA projects.
Getting Started
To start using Ammar, ensure you have INEX SPA installed, then simply run your commands using:
php ammar [command] [options]
Ammar is built to save you time and effort, making development with INEX SPA smoother than ever. Stay tuned for more updates and features!
Tags
Ammar
Ammar CLI
Application
CLI
CSS
Egypt
Everything
For
FrameWork
HTML
INEX
INEX SPA
International
JS
Page
PHP
Single
Single Page Application
SPA
Technology