esteban/yeapf2-tools

YeAPF2 command line tools

dev-main 2024-08-26 19:23 UTC

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

  1. Install this package globally

    composer global require esteban/yeapf2-tools
  2. 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.

  3. Change your PATH variable

    In MacOS you can do nano ~/.bash_profile if using bash or nano ~/.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 )