Skip to content

Commit 7c8f4b0

Browse files
add command parameter for Galaxy parser
Due to this line https://github.com/hexylena/argparse2tool/blob/cca59571ad18f0bcc7b863ebbdd42a3480801aaf/argparse/__init__.py#L144 this allows to get the xml only for a subcommand. No idea if this was intended like this? For consistency this could be added to the cwl part as well.
1 parent cca5957 commit 7c8f4b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

argparse2tool/cmdline2gxml/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ def __init__(self):
2323

2424
def process_arguments(self):
2525
self.parser.add_argument('--generate_galaxy_xml', action='store_true')
26+
self.parser.add_argument('--command', action='store', default="")
2627
return vars(self.parser.parse_args())

0 commit comments

Comments
 (0)