Skip to main content

WIKI_CREATE

Constant WIKI_CREATE 

Source
pub const WIKI_CREATE: &str = "\
Create a Yandex Wiki page.

```
ytcli wiki create users/ilubenets/notes --title \"Notes\" --from notes.md
cat notes.md | ytcli wiki create users/ilubenets/notes --title \"Notes\" --from -
```

The slug's path decides the parent. The text comes from a file, or from stdin
with `-`, and never from an argument. `--silent` spares the subscribers a
notification. The profile and organisation are announced first, and
`--dry-run` prints the request without sending it. Prints the new page's slug
and id.";