1. Russell Keith-Magee
  2. jacqui
  3. Issues
Issue #1 new

Command Line Option Parsing

Anonymous created an issue

The bug exists just after the command line args are parsed. The if statement reads, {{{

!python

if not args: parser.print_usage() }}}

The args variable should contain the list of positional arguments leftover after parsing options however in this case, there are no remaining arguments after parsing options. Therefore if the command line is provided exactly as in the documentation, args will be [] and the usage will be printed.

A workaround is simply to add an extra arg at the end of the command line,

jacqui -t my_theme.json -b my_bundle.json -o output.zip a

Comments (0)

  1. Log in to comment