-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docopt export descriptor#392 #525
Docopt export descriptor#392 #525
Conversation
…eside in pattern (non-flat), TBD boutiques#392
…ocopt_export_descriptor#392
…lue-requires, and value-disables
…s-inputs. NEEDS MASSIVE REFACTORING
…mmand-line generation
…ts from requires-inputs field
…, descriptions/types/defaults are associated with inputs during dependency tree contruction, cleaned template descriptor (have to discuss about what's in template), partial implementation for short-hand flags boutiques#392
… types assignment, generated descriptors now pass bosh invocation
…, added one test for dcpt import
…ex-groups, fixed unique-id branching issue, CORRECT implementation with requires-inputs groups
…c launch tests run and pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! A couple minor file-deletions for now. I'll look at importer.py
shortly and provide a line-by-line review there.
tools/python/boutiques/templates/template_docopt_descriptor.json
Outdated
Show resolved
Hide resolved
tools/python/boutiques/schema/examples/docopt_to_argparse/sample_pattern.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After line-by-line review I can't really find anything worth blocking this any longer, perhaps just some small style differences - great work, @DarrinFong !!
I'm happy to merge - is it ready, or are you building any more in?
Cool! It's ready |
Great! Nicely done :) |
Change
This is a 'partial' implementation and requires #524 to complete
bosh import dcpt [OUTPUT] [DOCOPT_PY_INPUT]
Creates a valid boutiques descriptor from a valid docopt script inside of a .py file.