Unix and Linux Discussions Tagged with commands |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
17 |
149,523 |
Shell Programming and Scripting |
|
|
|
8 |
7,517 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
5,869 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,092 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,563 |
Shell Programming and Scripting |
|
|
|
2 |
1,375 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
9,292 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,612 |
Shell Programming and Scripting |
|
|
|
5 |
3,476 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,233 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
886 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,302 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,540 |
Shell Programming and Scripting |
|
|
|
4 |
3,453 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,125 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,266 |
OS X (Apple) |
|
|
|
3 |
3,614 |
What is on Your Mind? |
|
|
|
4 |
1,949 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,117 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,177 |
Shell Programming and Scripting |
|
|
|
6 |
2,169 |
Shell Programming and Scripting |
|
|
|
1 |
2,253 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,275 |
Shell Programming and Scripting |
|
|
|
14 |
14,684 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,180 |
SCO |
|
|
|
7 |
4,971 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
6,531 |
Red Hat |
|
|
|
6 |
3,243 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,323 |
Linux |
|
|
|
6 |
3,100 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,425 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
12,605 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,660 |
Shell Programming and Scripting |
|
|
|
1 |
6,690 |
Solaris |
|
|
|
6 |
6,254 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,263 |
Programming |
|
|
|
0 |
5,792 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,440 |
Shell Programming and Scripting |
|
|
|
7 |
3,249 |
Shell Programming and Scripting |
|
|
|
3 |
2,181 |
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)