Skip to content
Dashboard

Sharing commands

Copy page
View as Markdown

These commands decide who can open a project. Typing grayspar access or grayspar open-path alone runs its list command.

Show who can open a project.

Terminal window
grayspar access list [flags]

Let people or a whole company open a project.

Terminal window
grayspar access add [flags] <targets...>
Argument Description
targets Email addresses, or @company.example for everyone at a company.
Terminal window
grayspar access add alice@example.com bob@example.com
grayspar access add @northfold.example

Adding a company needs the owner role.

Remove a person or company from a project’s list.

Terminal window
grayspar access remove [flags] <target>
Argument Description
target An email address, or @company.example.
Terminal window
grayspar access remove alice@example.com

Choose whether only the list or anyone with the link can open a project.

Terminal window
grayspar access set [flags]
Flag Description
--mode <mode> Restricted lets in the people and companies on the list, open lets in anyone with the link (choices: “restricted”, “open”).
Terminal window
grayspar access set --mode open
grayspar access set --mode restricted

This command needs the owner role.

List a project’s open paths.

Terminal window
grayspar open-path list [flags]

Let anyone reach a path and everything below it.

Terminal window
grayspar open-path add [flags] <path>
Argument Description
path A path such as /webhooks.
Terminal window
grayspar open-path add /webhooks

This command needs the owner role.

Make a path ask for login again.

Terminal window
grayspar open-path remove [flags] <path>
Argument Description
path An open path such as /webhooks.
Terminal window
grayspar open-path remove /webhooks