Shebangs voor syntax highlighting
This commit is contained in:
parent
be519353c6
commit
18d1a552fb
11 changed files with 22 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
# This plugin must at the end in the plugins file.
|
||||
|
||||
HELP "deposit [<amount>]" => "[Create and] deposit into an account";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "give [<account> [<amount>]]" => "Transfer money to user's account";
|
||||
|
||||
sub command :Tab(give) {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "help" => "The stuff you're looking at right now :)";
|
||||
|
||||
use List::Util qw(max);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
sub command { NEXT }
|
||||
|
||||
my $filename = ".revbank.log";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "<productID>" => "Look up products from database";
|
||||
HELP "edit" => "Edit product list";
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "restart" => "Attempt to restart the RevBank shell";
|
||||
|
||||
sub command :Tab(restart) {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
sub command { NEXT }
|
||||
|
||||
$SIG{INT} = 'IGNORE';
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "take [<accounts> [<amount>]]" => "Take money from users (equal parts)";
|
||||
|
||||
sub command :Tab(take,steal) {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "undo [<id>]" => "Undo a certain transaction";
|
||||
|
||||
my $filename = ".revbank.undo";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "<account>" => "[Pay with your account and] show balance";
|
||||
HELP "list" => "List accounts and balances";
|
||||
HELP "shame" => "Display Hall of Shame (negative balances)";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!perl
|
||||
|
||||
HELP "<amount>" => "Withdraw or enter price manually";
|
||||
|
||||
sub command {
|
||||
|
|
Loading…
Add table
Reference in a new issue