diart icon indicating copy to clipboard operation
diart copied to clipboard

CLI Refactoring: Use jsonargparse

Open juanmc2005 opened this issue 3 years ago • 0 comments
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.

juanmc2005 avatar Nov 08 '22 16:11 juanmc2005