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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
galliaudsscanidentifiersdiscoverprimitivedtcread-data-by-identifierxcpdiscoverdltdiscoverExamples
Subcommands grouped by operation
galliascanudsidentifiersdiscoverxcpudsdltprimitivesudsdtcread-data-by-identifierExamples
No subcommands grouped by prefix
galliadlt-discoveruds-discoveruds-primitives-dtcuds-primitives-read-data-by-identifieruds-scan-identifiersxcp-discoverExamples
Beta Was this translation helpful? Give feedback.
All reactions