[Bps-public-commit] r16068 - in Prophet/branches/dispatcher: lib/Prophet/CLI
sartak at bestpractical.com
sartak at bestpractical.com
Thu Sep 25 15:41:10 EDT 2008
Author: sartak
Date: Thu Sep 25 15:41:01 2008
New Revision: 16068
Modified:
Prophet/branches/dispatcher/ (props changed)
Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm
Log:
r72473 at onn: sartak | 2008-09-25 15:40:35 -0400
Support for "./prophet create ticket -- summary=hello"
Modified: Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm (original)
+++ Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm Thu Sep 25 15:41:01 2008
@@ -38,6 +38,12 @@
$server->run;
};
+on ['create', qr/.*/] => sub {
+ my $self = shift;
+ $self->context->type($2);
+ run('create', $self);
+};
+
on ['create'] => sub {
my $self = shift;
my $record = $self->context->_get_record_object;
More information about the Bps-public-commit
mailing list