diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-01 16:17:42 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-01 16:17:42 +0200 |
commit | 165c0a09a0fe3f40f305f41411029f43ef339155 (patch) | |
tree | e2b0431cf04feb57b4f0b9c1698ec7389dd0df4a | |
parent | new instead of load; add readme (diff) | |
download | net-http-console-165c0a09a0fe3f40f305f41411029f43ef339155.tar.gz |
list all available methods master
-rw-r--r-- | lib/Net/HTTP/Console/Dispatcher/Help.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Net/HTTP/Console/Dispatcher/Help.pm b/lib/Net/HTTP/Console/Dispatcher/Help.pm index 6f2c632..7efbcaf 100644 --- a/lib/Net/HTTP/Console/Dispatcher/Help.pm +++ b/lib/Net/HTTP/Console/Dispatcher/Help.pm @@ -80,6 +80,13 @@ EOF print $method->documentation; } + + method _list_commands() { + my @methods = $self->application->api_object->meta->get_all_net_api_methods(); + foreach my $method (@methods) { + print " - ".$method."\n"; + } + } } 1; |