Skip to content

feat: better quote inputs #1

@fybx

Description

@fybx

Example Input

$ demo --sentence="this is a sentence" --another_arg "another quote"

Expected Output

c.parse_string("--sentence=\"this is a sentence\"") should produce the following dictionary:

{"sentence": "this is a sentence", "another_arg": "another quote"}

or if a class-level setting like "Crispy.keep_quotes" is set to True

{"sentence": "\"this is a sentence\"", "another_arg": "\"another quote\""}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions