summaryrefslogtreecommitdiffstats
path: root/lib/IM/Engine/Plugin/Commands/Command/Cmdlist.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IM/Engine/Plugin/Commands/Command/Cmdlist.pm')
-rw-r--r--lib/IM/Engine/Plugin/Commands/Command/Cmdlist.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/IM/Engine/Plugin/Commands/Command/Cmdlist.pm b/lib/IM/Engine/Plugin/Commands/Command/Cmdlist.pm
new file mode 100644
index 0000000..6d9444a
--- /dev/null
+++ b/lib/IM/Engine/Plugin/Commands/Command/Cmdlist.pm
@@ -0,0 +1,11 @@
+package IM::Engine::Plugin::Commands::Command::Cmdlist;
+use IM::Engine::Plugin::Commands::OO;
+
+sub init {
+ my $self = shift;
+ $self->is_active(0);
+ return join ' ', map { $self->_ime_plugin->prefix . $_}
+ $self->_ime_plugin->command_list;
+}
+
+1;