Skip to content

Add equal-sign based parsing for flag based args #4

@cameronmore

Description

@cameronmore

Functional Requirement:

  • Parse flag-based arguments that use the equal sign syntax such as: —style=MLA
  • Allow users to define a set of possible values such as: [MLA, Chicago, APA]

Implementation:

  • Add the necessary code to the .process() method called by the ArgManager struct, alongside the other code that parses the arguments
  • Do not change the existing code, this should ‘in theory’ be an additive change
  • Allow users to mix equal-sign based args and non-equal-sign based args at the same time (like —style=MLA —output OUTPUT_LOCATION.txt)

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