Fotango Ltd > Froody-42.041_2 > froody

Download:
Froody-42.041_2.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

froody - command line for Froody

SYNOPSIS ^

   bash$ froody -uhttp://foo.com/fe examples.myapi.greet who Mark

DESCRIPTION ^

Command line client for Froody.

OPTIONS ^

-uhttp://myurl.com

Loads the API via that URL's reflection service and allows you to call methods against it. You can specify this flag multiple times for different URLs.

-Mmodulename

Loads the module. If this is a subclass of Froody::Implementation this allows you to call methods that this module implements. You can specify this flag multiple times for different modules.

-lpath or -Ipath

Add this path to @INC.

-t

Print out the data in the Terse data format rather than printing the XML

-p

Print out the data in the PerlDS data format rather than printing the XML

-y

Use YAML instead of Data::Dumper when printing data with -t or -p. Prints an error if YAML isn't installed.

-b

Benchmark requests. Prints out how long the request takes after all local code has been loaded and remote reflection calls have been run.

-nnumber

Repeat the request a number of times. Useful for crude benchmarking.

-q

Quiet mode. Don't actually print out the output of the method.

-d

Dump out the names of all the loaded methods instead of running a method

-sportnum

Start a standalone server on the port passed. Defaults to 4242 if no port is specified

-imodulename

Print the specification for the given Froody::Method rather than running a method

-v or --version

Shows the version of Froody installed on the system

-h or --help or -?

Shows this help message

syntax highlighting: