Browse Source

Append subparser's endpoint to the command string

pull/150/head
chriskiehl 9 years ago
parent
commit
b47c0f7890
1 changed files with 2 additions and 0 deletions
  1. 2
      gooey/gui/model.py

2
gooey/gui/model.py

@ -185,6 +185,8 @@ class MyModel(object):
if position_args:
position_args.insert(0, "--")
cmd_string = ' '.join(filter(None, chain(required_args, optional_args, position_args)))
if self.layout_type == 'column':
cmd_string = '{} {}'.format(self.argument_groups[self.active_group].command, cmd_string)
return '{} --ignore-gooey {}'.format(self.build_spec['target'], cmd_string)
def group_arguments(self, widget_list):

Loading…
Cancel
Save