You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 5, 2020. It is now read-only.
Note: since by design argutil requires commandline.json, it may be simply or more accurate to build completion suggestions using that file instead of traversing the parser tree (as in above gist).
Suggested API for new functionality:
classArgutilParser(argutil.ArgumentParser):
def__init__(self, definition, *args, **kwargs):
argutil.ArgumentParser.__init__(self, *args, **kwargs)
self.definition=definitiondefsuggest_next(self, argv):
return ... # List of valid arguments## __build_parser__(...) should now return ArgutilParser instead of argutil.ArgumentParser
See this gist.
Note: since by design argutil requires
commandline.json, it may be simply or more accurate to build completion suggestions using that file instead of traversing the parser tree (as in above gist).Suggested API for new functionality: