Skip to main content

WIKI_GRID_UPDATE

Constant WIKI_GRID_UPDATE 

Source
pub const WIKI_GRID_UPDATE: &str = "\
Retitle a Yandex Wiki grid, or set the order its rows show in.

```
ytcli wiki update-grid 8f1e2d3c-4b5a-4c6d-8e7f-9a0b1c2d3e4f --title \"Releases 2027\"
ytcli wiki update-grid 8f1e2d3c-4b5a-4c6d-8e7f-9a0b1c2d3e4f --sort version:desc
```

Every grid write is made against a revision. The Wiki refuses one that is no
longer current, which stops a write from overwriting someone else's edit made
in between. Without `--revision`, the grid is read first for its current
revision; with it, the change is made against the one you read. Prints the new
revision. Announced first; `--dry-run` sends nothing.";