GothenburgBitFactory / GothenburgBitFactory/taskwarrior

cli description quote chars get consumed although properly quoted

Open
#2,957 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

In v2.6.2, if the description is set from cli to `'quoted' unquoted 'quoted'`:
```
$ task add -- "'this is a test' of the 'emergency broadcast'"
```
however the initial and trailing quote are gobbled:
```
$ task 530697e9 export | jq -r '.[].description'
this is a test' of the 'emergency broadcast
```
This should not happen as far as I can tell. These are easily fixed in the task editor, but how to submit correctly on cli? To consume just the initial and trailing quote seems wrong. (Same thing happens without `--` btw.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.