Command structure #76
Closed
rumpelsepp
started this conversation in
Ideas
Replies: 1 comment
-
Moved here: #81 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I worked a bit on #9 and reached a blocker. Gallia is going to become a framework which is not limited to uds only. Therefore, it make sense to structure the CLI interface better. The challenge is to create a somehow self describing CLI interface which is easy to remember and easy to use.
I had a few ideas for structuring the commands. The structure of the code base could follow this accordingly. Personally, I think “Subcommands grouped by operation” is cool.
Subcommands grouped by service
gallia
uds
scan
identifiers
discover
primitive
dtc
read-data-by-identifier
xcp
discover
dlt
discover
Examples
Subcommands grouped by operation
gallia
scan
uds
identifiers
discover
xcp
uds
dlt
primitives
uds
dtc
read-data-by-identifier
Examples
No subcommands grouped by prefix
gallia
dlt-discover
uds-discover
uds-primitives-dtc
uds-primitives-read-data-by-identifier
uds-scan-identifiers
xcp-discover
Examples
Beta Was this translation helpful? Give feedback.
All reactions