[go: up one dir, main page]

The TUI prompt does not respect quoted arguments

When running a command from the TUI's prompt (e.g. during searching) quotes a not respected. Thus, the command:

cobib search 'quantum volume'

works fine when run from the console but, when run from the TUI, returns an error:

┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│usage: list [-h] [-x] [-l] [-s SORT] [-r] [++ENTRYTYPE ENTRYTYPE] [--ENTRYTYPE ENTRYTYPE] [++ID ID] [--ID ID]    │
│            [++abstract ABSTRACT] [--abstract ABSTRACT] [++address ADDRESS] [--address ADDRESS]                  │
│            [++archivePrefix ARCHIVEPREFIX] [--archivePrefix ARCHIVEPREFIX] [++archiveprefix ARCHIVEPREFIX]      │
│            [--archiveprefix ARCHIVEPREFIX] [++arxivid ARXIVID] [--arxivid ARXIVID] [++author AUTHOR]            │
│            [--author AUTHOR] [++booktitle BOOKTITLE] [--booktitle BOOKTITLE] [++doi DOI] [--doi DOI]            │
│            [++eprint EPRINT] [--eprint EPRINT] [++file FILE] [--file FILE] [++isbn ISBN] [--isbn ISBN]          │
│            [++issn ISSN] [--issn ISSN] [++issue ISSUE] [--issue ISSUE] [++journal JOURNAL] [--journal JOURNAL]  │
│            [++language LANGUAGE] [--language LANGUAGE] [++month MONTH] [--month MONTH] [++note NOTE]            │
│            [--note NOTE] [++number NUMBER] [--number NUMBER] [++pages PAGES] [--pages PAGES]                    │
│            [++primaryClass PRIMARYCLASS] [--primaryClass PRIMARYCLASS] [++primaryclass PRIMARYCLASS]            │
│            [--primaryclass PRIMARYCLASS] [++publisher PUBLISHER] [--publisher PUBLISHER] [++school SCHOOL]      │
│            [--school SCHOOL] [++tags TAGS] [--tags TAGS] [++title TITLE] [--title TITLE] [++url URL] [--url URL]│
│            [++version VERSION] [--version VERSION] [++volume VOLUME] [--volume VOLUME] [++year YEAR]            │
│            [--year YEAR]                                                                                        │
│list: error: unrecognized arguments: volume'                                                                     │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘