[Bps-public-commit] r16573 - in sd/branches/sd-dispatcher: .

sartak at bestpractical.com sartak at bestpractical.com
Tue Oct 28 13:18:37 EDT 2008


Author: sartak
Date: Tue Oct 28 13:18:37 2008
New Revision: 16573

Modified:
   sd/branches/sd-dispatcher/   (props changed)
   sd/branches/sd-dispatcher/lib/App/SD/CLI/Dispatcher.pm

Log:
 r74682 at onn:  sartak | 2008-10-28 13:18:28 -0400
 Attachment commands outside of the ticket context


Modified: sd/branches/sd-dispatcher/lib/App/SD/CLI/Dispatcher.pm
==============================================================================
--- sd/branches/sd-dispatcher/lib/App/SD/CLI/Dispatcher.pm	(original)
+++ sd/branches/sd-dispatcher/lib/App/SD/CLI/Dispatcher.pm	Tue Oct 28 13:18:37 2008
@@ -51,6 +51,11 @@
     };
 };
 
+under attachment => sub {
+    on content => run_command('Attachment::Content');
+    on create  => run_command('Attachment::Create');
+};
+
 # allow type to be specified via primary commands, e.g.
 # 'sd ticket display --id 14' -> 'sd display --type ticket --id 14'
 on qr{^(ticket|comment|attachment) \s+ (.*)}xi => sub {



More information about the Bps-public-commit mailing list