Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4145,7 +4145,7 @@ DESCRIPTION
Commands for interacting with Cursors in Ably Spaces

EXAMPLES
$ ably spaces cursors set my-space --position '{"x": 100, "y": 200}' --data '{"color": "red"}'
$ ably spaces cursors set my-space --x 100 --y 200 --data '{"color": "red"}'

$ ably spaces cursors subscribe my-space

Expand Down
2 changes: 1 addition & 1 deletion src/commands/spaces/cursors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default class SpacesCursors extends Command {
"Commands for interacting with Cursors in Ably Spaces";

static override examples: Command.Example[] = [
`$ ably spaces cursors set my-space --position '{"x": 100, "y": 200}' --data '{"color": "red"}'`,
`$ ably spaces cursors set my-space --x 100 --y 200 --data '{"color": "red"}'`,
`$ ably spaces cursors subscribe my-space`,
`$ ably spaces cursors get-all my-space`,
];
Expand Down
2 changes: 1 addition & 1 deletion src/commands/spaces/cursors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default class SpacesCursorsIndex extends Command {
static override description = "Commands for cursor management in Ably Spaces";

static override examples = [
"$ ably spaces cursors set my-space",
"$ ably spaces cursors set my-space --x 100 --y 200",
"$ ably spaces cursors subscribe my-space",
"$ ably spaces cursors get-all my-space",
];
Expand Down
Loading