esteban / yeapf2-tools
YeAPF2 command line tools
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Shell
Requires
- php: >=8.2
- edortta/yeapf2: ^2.0
This package is auto-updated.
Last update: 2024-12-26 20:06:05 UTC
README
This project is intended to be used at command line to create and manipulate a YeAPF2 project. Whe present here two opctions: Install of this package or install an specific project.
A. Installation this package
-
Install this package globally
composer global require esteban/yeapf2-tools
-
You can find the composer path using this command:
composer global config bin-dir --absolute
This path will be used later in third point
Or use just the
$HOME/.composer/vendor/bin
. -
Change your PATH variable
In MacOS you can do
nano ~/.bash_profile
if using bash ornano ~/.zshrc
In Linux you can do
nano ~/.bashrc
Add aline as this:
export PATH="$PATH:$HOME/.composer/vendor/bin"
B. Installing a project alone
Go to the folder of your project and run this command:
This will install y2-classic-example
project in www
folder of your project.
bash <(curl -Ls https://raw.githubusercontent.com/EDortta/yeapf2-tools/main/install-project.sh ) y2-classic-example
You can just ompit the project name and it will list the projects available.
bash <(curl -Ls https://raw.githubusercontent.com/EDortta/yeapf2-tools/main/install-project.sh )