diart
diart copied to clipboard
CLI Refactoring: Use jsonargparse
trafficstars
Problem
The implementation of the CLI is a bit messy and mixed with the python API.
Idea
Use jsonargparse to group diart.stream, diart.tune and diart.benchmark into a single diart.py with automatic CLI documentation (i.e. removing argdoc.py).
The new API would remove the dot (diart stream instead of diart.stream), --help would be generated from the docstring, and a class Diart could contain the implementation of all three scripts.