Closed Bug 524815 Opened 15 years ago Closed 13 years ago

Add support for command line option groups

Categories

(Testing :: Mozbase, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: k0scist)

Details

(Whiteboard: [mozmill-2.0+][CLI])

Attachments

(1 file)

At the moment the implementation of the command line parsing in Mozrunner doesn't support the option groups. For subclasses it would be nice when they could add their own groups so the list of options is better understandable.
I would recommend:
 - one option group per class (mozrunner + jsbridge + mozmill top level)
 - in addition, one option group per "reporting" plugin

Not hard to do.  Mostly wanting a decision if this is what we want.
Whiteboard: [mozmill-2.0?][CLI]
Severity: normal → enhancement
Whiteboard: [mozmill-2.0?][CLI] → [mozmill-2.0+][CLI]
Assignee: nobody → jhammel
So it looks like we want ;) I'll do what i recommend in comment #1.
Attachment #519583 - Flags: review?(fayearthur+bugs)
Comment on attachment 519583 [details] [diff] [review]
add option groups

This will help out, looks good!
Attachment #519583 - Flags: review?(fayearthur+bugs) → review+
pushed to master: https://github.com/mozautomation/mozmill/commit/b77ec1ee8e8fd43cc681fefbdf2437b5665967ed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: