-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Is there a best practice / suggestion for exporting all arguments from a script that uses argparse? For example, I'm developing an application that needs to understand what inputs / types are allowed and required, and starting with a standard argument parser seems like the right way to go. Some possible ideas I've been thinking of are something that would use inspect, or having a standard template that returns the parse object. Ideally, any script using argparse should be able to be run through this function to produce some data structure that contains this information (with minimal requirements to customize the script with argparse)!
Metadata
Metadata
Assignees
Labels
No labels