|
NAME"Commandable::Command" - represent metadata for an invokable commandACCESSORSThe following simple methods return metadata fields about the commandnamedescription$name = $command->name $desc = $command->description Strings giving the short name (to be used on a commandline), and descriptive text for the command. arguments@args = $command->arguments A (possibly-empty) list of argument metadata structures. METHODSparse_invocation@vals = $command->parse_invocation( $cinv ) Parses values out of a Commandable::Invocation instance according to the specification for the command's arguments. Returns a list of perl values suitable to pass into the function implementing the command. This method will throw an exception if mandatory arguments are missing. AUTHORPaul Evans <leonerd@leonerd.org.uk>
Visit the GSP FreeBSD Man Page Interface. |