Skip to content

[modular] Pull out a clap_lex #2915

@epage

Description

@epage

Please complete the following tasks

  • I have searched the discussions
  • I have searched the existing issues

Clap Version

master

Describe your use case

We are looking to modular clap

  • We can look for opportunities to shrink clap
  • We can share logic with other argument parsers

As previously discussed at #2615, one part of this would be pulling out a clap_lex crate, similar to lexopt.

Describe the solution you'd like

Clap is a wrapper around clap_lex

Alternatives, if applicable

Expand lexopt for our needs (probably easier to do an extraction refactor)

Additional Context

No response

Metadata

Metadata

Assignees

Labels

A-parsingArea: Parser's logic and needs it changed somehow.C-enhancementCategory: Raise on the bar on expectationsE-hardCall for participation: Experience needed to fix: Hard / a lot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions