Skip to content

justinhogg/bankaccount

Repository files navigation

bankaccount

A simple command line interface bank account

Installation

git clone this repository.

Download composer: curl -s https://getcomposer.org/installer | php

Install dependencies, run this command from the root directory:

php composer.phar install

Commands

account

account:open - Open a new bank account. Set an overdraft. Deposit and withdraw from the account.

To run this command from the root directory:

php bank.php account:open [--balance --overdraft]

Options

--balance - Display the balance of the account.

--overdraft - Display the overdraft limit of the account.

Unit Tests

To run this command from the root directory:

./vendor/bin/phpunit

About

A simple command line interface bank account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published