Skip to content

Refactor command line interface #348

@myurkin

Description

@myurkin

Describe the solution you'd like

There are two general ideas, which are somewhat independent:

  • Consider adopting one of the standards for command line options. For instance, short names with - and long names with --. This will, most probably, lead to deprecation of some of the existing options and, later, to major version update.
  • Use standard library or functions for processing the command line options. Current implementation in ADDA is rather powerful, so not clear what is the benefit of a separate library. Still, looking at best practices can be useful for refinement and/or refactoring.

Additional context

This is related to many issues of new command lines, at least in view of specific names:
#8, #91, #202, #274, #275, #285, #303, #346

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingBreaking change (CLI, input & output files)comp-UIRelated to user interface (command line, input files)maintainabilitySimplifies further code development (standardization, robustness)pri-LowKept mostly for referenceusabilityMakes using code more convenient
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions