@command<EOL><INDENT>def do_chart(self, args, arguments):<DEDENT>
print(arguments)<EOL>
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