"Introducing Ammar: The Powerful CLI for INEX SPA"

 

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:
    php ammar delete:db -1 delete -2 Users
    
    This removes a database migration file related to the 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:
    php ammar delete:route -1 Home
    
    This removes all route files associated with 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!

Post a Comment

Previous Post Next Post