Unix and Linux Discussions Tagged with commands |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
17 |
145,744 |
Shell Programming and Scripting |
|
|
|
8 |
7,141 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
5,552 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,732 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,217 |
Shell Programming and Scripting |
|
|
|
2 |
1,222 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
8,436 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,363 |
Shell Programming and Scripting |
|
|
|
5 |
3,322 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,135 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
827 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,244 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,420 |
Shell Programming and Scripting |
|
|
|
4 |
3,303 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
4,917 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
6,787 |
OS X (Apple) |
|
|
|
3 |
3,477 |
What is on Your Mind? |
|
|
|
4 |
1,816 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,025 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,011 |
Shell Programming and Scripting |
|
|
|
6 |
2,041 |
Shell Programming and Scripting |
|
|
|
1 |
2,155 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,141 |
Shell Programming and Scripting |
|
|
|
14 |
14,316 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,076 |
SCO |
|
|
|
7 |
4,705 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
6,448 |
Red Hat |
|
|
|
6 |
3,124 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,248 |
Linux |
|
|
|
6 |
3,022 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,372 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
12,474 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,604 |
Shell Programming and Scripting |
|
|
|
1 |
6,492 |
Solaris |
|
|
|
6 |
6,161 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,187 |
Programming |
|
|
|
0 |
5,688 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,332 |
Shell Programming and Scripting |
|
|
|
7 |
3,124 |
Shell Programming and Scripting |
|
|
|
3 |
2,132 |
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)