Unix and Linux Discussions Tagged with commands |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
17 |
163,734 |
Shell Programming and Scripting |
|
|
|
8 |
8,090 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
6,900 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,928 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
6,280 |
Shell Programming and Scripting |
|
|
|
2 |
1,645 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
11,793 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
6,444 |
Shell Programming and Scripting |
|
|
|
5 |
3,868 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,567 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,000 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,432 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,708 |
Shell Programming and Scripting |
|
|
|
4 |
3,800 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,674 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,816 |
OS X (Apple) |
|
|
|
3 |
3,954 |
What is on Your Mind? |
|
|
|
4 |
2,287 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,331 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,529 |
Shell Programming and Scripting |
|
|
|
6 |
2,518 |
Shell Programming and Scripting |
|
|
|
1 |
2,561 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,579 |
Shell Programming and Scripting |
|
|
|
14 |
15,677 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,380 |
SCO |
|
|
|
7 |
5,606 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
6,762 |
Red Hat |
|
|
|
6 |
3,667 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,530 |
Linux |
|
|
|
6 |
3,230 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,533 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
13,006 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,806 |
Shell Programming and Scripting |
|
|
|
1 |
7,003 |
Solaris |
|
|
|
6 |
6,635 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,485 |
Programming |
|
|
|
0 |
5,939 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,682 |
Shell Programming and Scripting |
|
|
|
7 |
3,486 |
Shell Programming and Scripting |
|
|
|
3 |
2,321 |
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)