Zane C. Bowers > ZConf-Runner-1.0.0 > zcrunner

Download:
ZConf-Runner-1.0.0.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: ZConf-Runner-2.1.4

NAME ^

zcrunner - Run a file using a choosen method, desktop entry or mimetype.

SYNOPSIS ^

zcrunner -o <object> [-a <action>] [-n] [-A <boolean>] zcrunner -L zcrunner -l -m <mimetype> [-a <action>] zcrunner -r -m <mimetype> [-a <action>] zcrunner -g -m <mimetype> [-a <action>]

DESCRIPTION ^

SWITCHES ^

-a <action>

This is the action to use. If it is not defined, it defaults to 'view'.

-A <perl boolean value>

A perl boolean value for if it should ask or not if a mimetype and action has not been setup previously.

-g

Print information for the specified mimetype and action. This requires '-m' be specified.

-l

List all actions for the mimetype specified by '-m'.

-L

List the mimetypes that have been setup.

-m <mimetype>

Specified a mimetype to operate on.

Setup an action instead of running an object. This requires '-o' to be specified.

-o <obeject>

This is the object that to run or ask about.

-r

Remove the specified action for the mimetype specified by '-m'.

EXIT CODES ^

1

No object specified using '-o'.

2

Failed to create a new ZConf::Runner object.

3

No mimetype specified. Using '-m'.

4

Removing action for the specified mimetype failed.

5

Listing the available mimetypes failed.