# Project and account commands

These commands show your projects and manage your login on this computer. Typing `grayspar project` alone runs `grayspar project list`.

## grayspar project list

List the projects in your teams.

```sh
grayspar project list [flags]
```

```text frame="terminal"
TEAM               PROJECT           URL
Mira's projects    <project-name>    https://<project-name>.grayspar.com
```

## grayspar project remove

Remove a project with its services, volumes, variables and deployments.

```sh
grayspar project remove [flags]
```

| Flag | Description |
| --- | --- |
| `-y, --yes` | Remove it without asking. |

This command deletes everything in the project, and it needs the owner role. The CLI asks you to type the project's name unless you pass `--yes`.

## grayspar login

Log in to Grayspar from this machine.

```sh
grayspar login [flags]
```

| Flag | Description |
| --- | --- |
| `--no-browser` | Print the address instead of opening it. |

The command opens your browser, where you press Log in. With `--no-browser` the command doesn't open a browser, and you open the address it prints yourself.

## grayspar logout

Log out on this machine.

```sh
grayspar logout [flags]
```

## grayspar whoami

Show which account this machine is logged in with.

```sh
grayspar whoami [flags]
```