COVESA / vss-tools

Software for working with VSS (https://github.com/COVESA/vehicle_signal_specification)
Mozilla Public License 2.0
54 stars 55 forks source link

CLI Redesign #372

Closed sschleemilch closed 2 months ago

sschleemilch commented 3 months ago

Hi *,

I just wanted to know how open the community is to a cli redesign. Since pictures say more than a lot of words, here are the impressions of what I am thinking of:

image

image

It would use click that also has some nice features e.g. being able to set args via env variables (VSS_TOOLS_LOG_LEVEL=DEBUG vspec2x .....)

Before actually doing the functional change and hooking the logic into the cli I wanted to get feedback first. Of course the design could also look different like not having sub-commands but specifying the output format in something like --format json. The sub-command approach could have the benefit that it might be easier to model output specific options