Coline Docs
Reference

contacts

Every coline contacts command, with its flags and the action it runs.

Every coline contacts command, 6 in all.

contacts block

Blocks someone from contacting the person.

coline contacts block [flags]

Action contacts.block · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--user-id <id>The other person's user id. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline contacts block -w acme --user-id <user-id>
coline contacts block -w acme --json '{"userId":"<user-id>"}' --fields id

contacts list

The person's contacts, and the requests waiting on them or on others.

It changes nothing.

coline contacts list [flags]

Action contacts.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace yes, -w

FlagWhat it does
--input <file>Read the input as JSON from a file; - reads stdin.
coline contacts list -w acme
coline contacts list -w acme --json '{}' --fields id

contacts remove

Removes someone from the person's contacts.

It removes or overwrites something, so it runs only with --confirm.

coline contacts remove [flags]

Action contacts.remove · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--user-id <id>The other person's user id. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline contacts remove -w acme --user-id <user-id> --confirm
coline contacts remove -w acme --json '{"userId":"<user-id>"}' --fields id --confirm

contacts requests accept

Accepts a request someone sent the person.

coline contacts requests accept [flags]

Action contacts.requests.accept · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--request-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline contacts requests accept -w acme --request-id <request-id>
coline contacts requests accept -w acme --json '{"requestId":"<request-id>"}' --fields id

contacts requests cancel

Takes back a request the person sent.

coline contacts requests cancel [flags]

Action contacts.requests.cancel · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--request-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline contacts requests cancel -w acme --request-id <request-id>
coline contacts requests cancel -w acme --json '{"requestId":"<request-id>"}' --fields id

contacts requests decline

Declines a request someone sent the person.

coline contacts requests decline [flags]

Action contacts.requests.decline · Effect write · Can wait for your approval no · Scope tools.write · Workspace yes, -w

FlagWhat it does
--request-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline contacts requests decline -w acme --request-id <request-id>
coline contacts requests decline -w acme --json '{"requestId":"<request-id>"}' --fields id

On this page