Skip to main content

ISSUE_CREATE

Constant ISSUE_CREATE 

Source
pub const ISSUE_CREATE: &str = "\
Create an issue.

```
ytcli issue create -q PROJ -s \"Attachments are lost on move\"
ytcli issue create -q PROJ -s \"title\" -d \"body\" --assignee login --tags QA,P6
ytcli issue create -q PROJ -s \"title\" --description-file ./body.md
ytcli issue create -q PROJ -s \"title\" -d -        # the body from stdin
ytcli issue create -q PROJ -s \"title\" --dry-run
```

A description is the field most likely to hold quotes, newlines and markdown, so
it can come from a file or from stdin rather than from an argument. Both at once
is an error, not a precedence rule: guessing which was meant is how the wrong
text gets written.

Prints the profile and organisation it is about to write to before it writes.
`--dry-run` shows the request body and sends nothing.

Failed writes are not retried: a retried write can be a duplicated one.";