Unix and Linux Discussions Tagged with commands |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
17 |
147,019 |
Shell Programming and Scripting |
|
|
|
8 |
7,295 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
5,653 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,879 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,364 |
Shell Programming and Scripting |
|
|
|
2 |
1,272 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
8,696 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,462 |
Shell Programming and Scripting |
|
|
|
5 |
3,391 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,167 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
852 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,273 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,474 |
Shell Programming and Scripting |
|
|
|
4 |
3,372 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
4,998 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
6,947 |
OS X (Apple) |
|
|
|
3 |
3,538 |
What is on Your Mind? |
|
|
|
4 |
1,865 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,067 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,080 |
Shell Programming and Scripting |
|
|
|
6 |
2,095 |
Shell Programming and Scripting |
|
|
|
1 |
2,194 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,195 |
Shell Programming and Scripting |
|
|
|
14 |
14,482 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,113 |
SCO |
|
|
|
7 |
4,848 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
6,477 |
Red Hat |
|
|
|
6 |
3,167 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,278 |
Linux |
|
|
|
6 |
3,058 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,395 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
12,526 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,627 |
Shell Programming and Scripting |
|
|
|
1 |
6,577 |
Solaris |
|
|
|
6 |
6,201 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,220 |
Programming |
|
|
|
0 |
5,729 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,376 |
Shell Programming and Scripting |
|
|
|
7 |
3,171 |
Shell Programming and Scripting |
|
|
|
3 |
2,148 |
UNIX for Dummies Questions & Answers |
App::Cmd::Command::commands(3pm) User Contributed Perl Documentation App::Cmd::Command::commands(3pm)
NAME
App::Cmd::Command::commands - list the application's commands
VERSION
version 0.318
DESCRIPTION
This command plugin implements a "commands" command. This command will list all of an App::Cmd's commands and their abstracts.
METHODS
execute
This is the command's primary method and raison d'etre. It prints the application's usage text (if any) followed by a sorted listing of
the application's commands and their abstracts.
The commands are printed in sorted groups (created by "sort_commands"); each group is set off by blank lines.
"sort_commands"
my @sorted = $cmd->sort_commands(@unsorted);
This method orders the list of commands into sets which it returns as a list of arrayrefs.
By default, the first group is for the "help" and "commands" commands, and all other commands are in the second group.
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-05 App::Cmd::Command::commands(3pm)