41 lines
847 B
Plaintext
41 lines
847 B
Plaintext
|
|
$> create Paul
|
||
|
|
Created account with id: '0' and name 'Paul'
|
||
|
|
|
||
|
|
$> create Peter
|
||
|
|
Created account with id: '1' and name 'Peter'
|
||
|
|
|
||
|
|
$> create Mic
|
||
|
|
Created account with id: '2' and name 'Mic'
|
||
|
|
|
||
|
|
$> info 1
|
||
|
|
Info for account '1': [Name: 'Peter', Balance: 0$]
|
||
|
|
|
||
|
|
$> add 1 100
|
||
|
|
Added 100$ to account '1'
|
||
|
|
|
||
|
|
$> info 1
|
||
|
|
Info for account '1': [Name: 'Paul', Balance: 0$]
|
||
|
|
|
||
|
|
$> transfer 1 0 40
|
||
|
|
Transferred 40$ from account '1' to account '0'
|
||
|
|
|
||
|
|
$> info 0
|
||
|
|
Info for account '0': [Name: 'Paul', Balance: 40$]
|
||
|
|
|
||
|
|
$> info 1
|
||
|
|
Info for account '1': [Name: 'Peter', Balance: 60$]
|
||
|
|
|
||
|
|
$> transfer 1 2 30
|
||
|
|
Transferred 30$ from account '1' to account '2'
|
||
|
|
|
||
|
|
$> transfer 2 1 10
|
||
|
|
Transferred 10$ from account '2' to account '1'
|
||
|
|
|
||
|
|
$> transactions 1
|
||
|
|
Transactions for account '1':
|
||
|
|
Send 40$ to account '0'
|
||
|
|
Send 30$ to account '2'
|
||
|
|
Received 10$ from account '2'
|
||
|
|
|
||
|
|
$> remove 0 120
|
||
|
|
Removed 120$ from account '0'
|