Skip to content

svanderbleek/asyncfilecli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Payments CLI

Allows "payments" between two terminal sessions on the same machine using files for communication.

Build

kotlinc payments.kt -include-runtime -d payments.jar

Run

java -jar payments.jar your-name partner-name

Then in another terminal session run

java -jar payments.jar partner-name user-name

tmux can be used to display side by side

Use

> balance - display balance
0

> pay 10 - pay partner
Sent

> exit - exit
Goodbye.

When running the CLI and a partner pays you you should see an event

You were paid 10!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages