Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.87 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.87 KB

PercentageIncrease

A handy Command Line App to quickly calculate the increase (or decrease) from a starting to a final value.

Getting started

Download the latest release and follow the instructions.

Installing

The package will do the following things:

  • Copy a terminal executable called "PercentageIncrease" in your Applications folder

  • Execute a script which will append the following lines to the .zshenv file in your home directory:

     alias %="/Applications/PercentageIncrease"
     alias increase="/Applications/PercentageIncrease"
    

    This will allow you to run PercentageIncrease just by typing % or increase inside your terminal.

    Note: % may conflict with terminal scripts using fg. If so delete the first line in ~/.zshenv.

How to use

You have two ways to calculate the increase in percentage using PercentageIncrease:

  • With parameters

    Type % or increase followed by the starting and the final values.

    Example: % 2 3 returns: Increase of: 50.0% ExampleImage

  • Without parameters

    Type % or increase and press enter. You will now prompted to insert the starting and the final values.

    Insert one after the other the two values the two values and press enter.

    Example: ExampleImage

License

This project is licensed under the MIT License - see the LICENSE.md file for details