Tyrrrz / CliFx

Class-first framework for building command-line interfaces
MIT License
1.5k stars 61 forks source link

Hide internals #33

Closed thorhj closed 4 years ago

thorhj commented 4 years ago

A lot of implementation details are currently public. I believe the public API should be reduced to only include the interfaces/classes needed to operate the framework (e.g. CliApplicationBuilder, CommandAttribute etc.). Other code should be marked internal.

This is a benefit for the library developers, who can then easily refactor code in a non-breaking fashion, as well as consumer developers because the public API is more easily discoverable.

Tyrrrz commented 4 years ago

I agree. I already have some refactor planned for this after #32.