alexgaal/alias

A PHP CLI application that helps you organize your aliases.

0.0.14 2022-08-12 09:15 UTC

README

banner-direct.svg

Alias CLI

A PHP CLI application that helps you organize your aliases.

Build Status Total Downloads Latest Stable Version License

Installation

composer require --dev alexgaal/alias

After installing Alias CLI we recommend to call the setup command once for automatically creation of aliases.json.

setup-example.png

Usage

Summary

To get an overview of all available commands you can call alias without any parameters.

summary-example.png

Execute an alias

After defining your aliases in aliases.json or aliases.dev.json you can call

execute-example.png

to get an overview of all available aliases. You can also call an alias directly:

execute-with-alias-example.png

aliases.json

At the moment our packages scans your root directory of your project for following files

  • aliases.dev.json
  • aliases.json

Please be aware that your values must be executable by your terminal.

aliases.json example

aliases-example.png

Support the development

Do you like this project? Support it by donating

License

Alias CLI is an open-source software licensed under the MIT license.