Skip to content

Rework CLI #38

@jjcarrier

Description

@jjcarrier

Various topics to be considered/addressed:

  • Some arguments need to be reworked/corrected/expanded on. Functionality like setting a preset with all of its parameters (--write-pre/--wp) should be added.
  • Review consistency of command handling (i.e. does --json behave as expected for all options? Is validation of all arguments performed prior to execution of the first command?)
  • Add max occurrence to certain options and verify prior to execution (some options are only processed once at startup, and the CLI should provide appropriate feedback to make this behavior clear).
  • The current approach is getting a bit messy. Look for ways to simplify the command parsing. Consider switching over to System.CommandLine. While this has its own complexities, it lends itself to a well-structured CLI interface. This may also aid in supporting tab-completion on other shells using dotnet-suggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions