Browse Source

repl: Add usage instructions in my repl

master
Elis Hirwing 3 years ago
parent
commit
940d96278b
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 11
      repl.php

11
repl.php

@ -0,0 +1,11 @@
<?php
echo 'Welcome to the simple REPL for handling stock of items'.PHP_EOL;
echo PHP_EOL;
echo 'Selling usage: S<amount> [item-name]'.PHP_EOL;
echo 'Inventory usage: I<amount> [item-name]'.PHP_EOL;
echo 'Refilling usage: R<amount> [item-name]'.PHP_EOL;
echo 'Quitting: q'.PHP_EOL;
echo PHP_EOL;
echo 'Default item-name is "box".'.PHP_EOL;
echo PHP_EOL;
Loading…
Cancel
Save