Shebangs voor syntax highlighting

This commit is contained in:
Juerd Waalboer 2013-02-26 04:42:45 +01:00
parent be519353c6
commit 18d1a552fb
11 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#!perl
# This plugin must at the end in the plugins file.
HELP "deposit [<amount>]" => "[Create and] deposit into an account";

View file

@ -1,3 +1,5 @@
#!perl
HELP "give [<account> [<amount>]]" => "Transfer money to user's account";
sub command :Tab(give) {

View file

@ -1,3 +1,5 @@
#!perl
HELP "help" => "The stuff you're looking at right now :)";
use List::Util qw(max);

View file

@ -1,3 +1,5 @@
#!perl
sub command { NEXT }
my $filename = ".revbank.log";

View file

@ -1,3 +1,5 @@
#!perl
HELP "<productID>" => "Look up products from database";
HELP "edit" => "Edit product list";

View file

@ -1,3 +1,5 @@
#!perl
HELP "restart" => "Attempt to restart the RevBank shell";
sub command :Tab(restart) {

View file

@ -1,3 +1,5 @@
#!perl
sub command { NEXT }
$SIG{INT} = 'IGNORE';

View file

@ -1,3 +1,5 @@
#!perl
HELP "take [<accounts> [<amount>]]" => "Take money from users (equal parts)";
sub command :Tab(take,steal) {

View file

@ -1,3 +1,5 @@
#!perl
HELP "undo [<id>]" => "Undo a certain transaction";
my $filename = ".revbank.undo";

View file

@ -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)";

View file

@ -1,3 +1,5 @@
#!perl
HELP "<amount>" => "Withdraw or enter price manually";
sub command {