plugins Package

activate Module

class cmd3.plugins.activate.activate
activate()
activate_activate()
do_plugins(args)
Ussage:
plugins

activates the plugins.

plugins = []
verbose = True

bar Module

class cmd3.plugins.bar.bar
activate_bar()
do_bar(arg)

Usage: bar line

clear Module

class cmd3.plugins.clear.clear
activate_clear()
do_clear(instance, args)
Ussage:
clear

Clears the screen.

edit Module

class cmd3.plugins.edit.edit
activate_edit()
do_edit(instance, args)

Usage: edit FILENAME

Arguments:
FILENAME the file to edit

Edits a file.

foo Module

class cmd3.plugins.foo.foo
activate_foo()
do_this(arg)

graphviz Module

class cmd3.plugins.graphviz.graphviz
do_dot2(args, arguments)
Usage:
dot2 FILENAME FORMAT

Export the data in cvs format to a file. Former cvs command

Arguments:
FILENAME The filename FORMAT the export format, pdf, png, ...
do_graphviz(args, arguments)
Usage:
graphviz FILENAME

Export the data in cvs format to a file. Former cvs command

Arguments:
FILENAME The filename

info Module

class cmd3.plugins.info.info
do_info(instance, args)
Usage:
info

Prints some internal information about the shell

print_info()

metric Module

class cmd3.plugins.metric.metric
activate_metric()
do_analyze(instance, args)
Usage:
analyze METRIC –start START –end END analyze METRIC –period [monthly|quaterly|daily] analyze METRIC –month MONTH

Analyze the metric data

Arguments:
METRIC The metric to be analyzed ... what values does it have?? ... START The start time n the format YYYY-MM-DDThh:mm:ss ENDT The end time n the format YYYY-MM-DDThh:mm:ss MONTH The month in 01,02, ..., 12
Options:
--start specifies the time when to start the analysis
--end specified the time when to end the analysis
--month the month
--period the period
do_chart(instance, args)
Usage:
chart [–dir DIR] –type (bar|line|column|pie|motion)
[–api (highchart|google|jquery|sparkline)] [FILENAME]

Creates a chart of a given type

Arguments:
DIR The directory into which the chart is written FILENAME The filename in which the chart is written.
Options:
--dir The directory
--type The type of the chart
--api The chart api library
do_count_images(instance, args)
Usage:
count_images [–detail | –summary] –user USER

Count bucket images per user (development level). It is virtual machine image counts grouped by users or accounts based on euca2ools. It shows that which user or account currently owns how many virtual machine images on the system. This metric is based on the euca2ool command. euca-describe-images. that a eucalyptus user can see a list of machine images.

Arguments:
USER The user
Options:
--user Show only images from the specified userid.
--detail Show details of the image (What would that be?)
--summary show summary about the image (default)
do_table(instance, args)
Usage:
table FILENAME table –file FILENAME

Export the data in cvs format to a file. Former cvs command

Arguments:
FILENAME The filename
Options:
--filet specifies the filename

opt_example Module

class cmd3.plugins.opt_example.opt_example

opt_example class

activate_opt_example()
do_neu(instance, args)
Usage:
opt_example [-vr] [FILE] ...

Process FILE and optionally apply some options

Arguments:
FILE optional input file
Options:
-v verbose mode
-r make report
do_old(instance, args)
Usage:
old [-ab] [FILE] ...

Process FILE and optionally apply some options

Arguments:
FILE optional input file
Options:
-a verbose mode
-b make report
do_opt_example(instance, args)
Usage:
opt_example [-vr] [FILE] ...

Process FILE and optionally apply some options

Arguments:
FILE optional input file
Options:
-v verbose mode
-r make report

pause Module

class cmd3.plugins.pause.pause
activate_pause()
do_pause(instance, args)
Ussage:
pause

Displays the specified text then waits for the user to press RETURN.

rst Module

class cmd3.plugins.rst.rst
activate_rst()
do_man(instance, args)
Usage:
man [–noheader]
Options:
--norule no rst header

Prints out the help pages

do_rst(instance, args)
Usage:
rst COMMAND

Prints out the comand for inclusion into rst

Arguments:
COMMAND The name of the command

shell_core Module

class cmd3.plugins.shell_core.shell_core
activate_shell_core()
cmdloop(intro=None)

Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument.

do_EOF(args)
Usage:
EOF

Action to be performed at the` end of a file. If true it terminates reating the file.

do_q(args)
Usage:
quit

Action to be performed whne quit is typed

do_quit(args)
Usage:
quit

Action to be performed whne quit is typed

emptyline()
get_version()
info_shell_core()
version()

template Module

class cmd3.plugins.template.template
activate_template()
preloop()

timer Module

class cmd3.plugins.timer.timer

needs to be integrated in pre post command

do_timer(instance, args)
Ussage:
timer (on|off)

switches timers on and off not yet implemented

list_tmers()